Add 'hide' method in typing definitions (#14138)

This commit is contained in:
Nikita Matrosov
2017-01-20 23:06:47 +04:00
committed by Mohamed Hegazy
parent 33fb4236d6
commit 632e62aadf

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.