Skip to content

Commit

Permalink
feat(inappbrowser): add hide function (#1018)
Browse files Browse the repository at this point in the history
  • Loading branch information
edskeizer authored and ihadeed committed Feb 1, 2017
1 parent 69ff7af commit 4ab87d8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/plugins/inappbrowser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4ab87d8

Please sign in to comment.