From 632e62aadf4ef6ec48135d82a99bf88e6907ecfd Mon Sep 17 00:00:00 2001 From: Nikita Matrosov Date: Fri, 20 Jan 2017 23:06:47 +0400 Subject: [PATCH] Add 'hide' method in typing definitions (#14138) --- cordova-plugin-inappbrowser/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cordova-plugin-inappbrowser/index.d.ts b/cordova-plugin-inappbrowser/index.d.ts index d5e221ba42..ea3d3adba8 100644 --- a/cordova-plugin-inappbrowser/index.d.ts +++ b/cordova-plugin-inappbrowser/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.