Add 'hide' method in typing definitions
This commit is contained in:
parent
711c605212
commit
b6ed0bbaca
2
types/index.d.ts
vendored
2
types/index.d.ts
vendored
@ -168,6 +168,8 @@ interface InAppBrowser extends Window {
|
|||||||
removeEventListener(type: string, callback: (event: Event) => void): void;
|
removeEventListener(type: string, callback: (event: Event) => void): void;
|
||||||
/** Closes the InAppBrowser window. */
|
/** Closes the InAppBrowser window. */
|
||||||
close(): void;
|
close(): void;
|
||||||
|
/** Hides the InAppBrowser window. Calling this has no effect if the InAppBrowser was already hidden. */
|
||||||
|
hide(): void;
|
||||||
/**
|
/**
|
||||||
* Displays an InAppBrowser window that was opened hidden. Calling this has no effect
|
* Displays an InAppBrowser window that was opened hidden. Calling this has no effect
|
||||||
* if the InAppBrowser was already visible.
|
* if the InAppBrowser was already visible.
|
||||||
|
Loading…
Reference in New Issue
Block a user