mirror of
https://github.com/captbaritone/webamp.git
synced 2026-01-23 02:15:01 +00:00
parent
b4a88d2cc4
commit
29b4e0db71
4 changed files with 16 additions and 0 deletions
|
|
@ -375,6 +375,10 @@ const unsubscribe = webamp.onMinimize(() => {
|
|||
unsubscribe();
|
||||
```
|
||||
|
||||
### `setSkinFromUrl(url: string): void`
|
||||
|
||||
Updates the skin used by the webamp instance. Note that this does not happen immediately. If you want to be notified when the skin load is complete, use `.skinIsLoaded()`, which returns a promise which you can await.
|
||||
|
||||
### `skinIsLoaded(): Promise<void>`
|
||||
|
||||
Returns a promise that resolves when the skin is done loading.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue