Add 'hide' method in typing definitions

This commit is contained in:
Nikita Matrosov 2017-01-20 13:39:52 +03:00
parent 711c605212
commit b6ed0bbaca

2
types/index.d.ts vendored
View File

@ -168,6 +168,8 @@ interface InAppBrowser extends Window {
removeEventListener(type: string, callback: (event: Event) => void): void;
/** Closes the InAppBrowser window. */
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
* if the InAppBrowser was already visible.