CB-3420: add hidden option to InAppBrowser
Project: http://git-wip-us.apache.org/repos/asf/cordova-js/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-js/commit/dcbd1898 Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/dcbd1898 Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/dcbd1898 Branch: refs/heads/3.0.0 Commit: dcbd189803681d61d261f4a5f76cd89a41b605ae Parents: 11bdd38 Author: David Kemp <[email protected]> Authored: Tue Jun 4 13:59:26 2013 -0400 Committer: David Kemp <[email protected]> Committed: Tue Jun 4 14:13:18 2013 -0400 ---------------------------------------------------------------------- lib/common/plugin/InAppBrowser.js | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-js/blob/dcbd1898/lib/common/plugin/InAppBrowser.js ---------------------------------------------------------------------- diff --git a/lib/common/plugin/InAppBrowser.js b/lib/common/plugin/InAppBrowser.js index 1640a82..5da53fd 100644 --- a/lib/common/plugin/InAppBrowser.js +++ b/lib/common/plugin/InAppBrowser.js @@ -41,6 +41,9 @@ InAppBrowser.prototype = { close: function (eventname) { exec(null, null, "InAppBrowser", "close", []); }, + show: function (eventname) { + exec(null, null, "InAppBrowser", "show", []); + }, addEventListener: function (eventname,f) { if (eventname in this.channels) { this.channels[eventname].subscribe(f);
