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/421aff89 Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/421aff89 Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/421aff89 Branch: refs/heads/3.0.0 Commit: 421aff89471477f96d068b55e96be4960de19674 Parents: 8a84454 Author: David Kemp <[email protected]> Authored: Tue Jun 4 13:59:26 2013 -0400 Committer: pplaquette <[email protected]> Committed: Thu Jun 6 17:00:27 2013 +0200 ---------------------------------------------------------------------- lib/common/plugin/InAppBrowser.js | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-js/blob/421aff89/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);
