mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-21 09:09:01 +00:00
Add close method to public types
This commit is contained in:
parent
46e0e8180c
commit
4e61a1ac23
1 changed files with 6 additions and 0 deletions
6
packages/webamp/index.d.ts
vendored
6
packages/webamp/index.d.ts
vendored
|
|
@ -239,6 +239,12 @@ export default class Webamp {
|
|||
*/
|
||||
public onClose(cb: () => void): () => void;
|
||||
|
||||
/**
|
||||
* Equivalent to selection "Close" from Webamp's options menu. Once closed,
|
||||
* you can open it again with `.reopen()`.
|
||||
*/
|
||||
public close(): void;
|
||||
|
||||
/**
|
||||
* After `.close()`ing this instance, you can reopen it by calling this method.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue