feat(inappbrowser): add hide function (#1018)

This commit is contained in:
Eds 2017-02-01 07:42:07 +01:00 committed by Ibby Hadeed
parent 69ff7afb48
commit 4ab87d8abb

View File

@ -72,6 +72,13 @@ export class InAppBrowser {
@CordovaInstance({sync: true})
close(): void { }
/**
* Hides an InAppBrowser window that is currently shown. Calling this has no effect
* if the InAppBrowser was already hidden.
*/
@CordovaInstance({sync: true})
hide(): void { }
/**
* Injects JavaScript code into the InAppBrowser window.
* @param script {Object} Details of the script to run, specifying either a file or code key.