From b6ed0bbaca9c3dfde83e0322e4efcf5d826f5791 Mon Sep 17 00:00:00 2001 From: Nikita Matrosov Date: Fri, 20 Jan 2017 13:39:52 +0300 Subject: [PATCH] Add 'hide' method in typing definitions --- types/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/index.d.ts b/types/index.d.ts index d5e221b..ea3d3ad 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -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.