mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
feat(inappbrowser): add hide function (#1018)
This commit is contained in:
@@ -72,6 +72,13 @@ export class InAppBrowser {
|
|||||||
@CordovaInstance({sync: true})
|
@CordovaInstance({sync: true})
|
||||||
close(): void { }
|
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.
|
* Injects JavaScript code into the InAppBrowser window.
|
||||||
* @param script {Object} Details of the script to run, specifying either a file or code key.
|
* @param script {Object} Details of the script to run, specifying either a file or code key.
|
||||||
|
|||||||
Reference in New Issue
Block a user