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.