From 35e3be115dfa365c02f9d09c608bf4f6aaf4e359 Mon Sep 17 00:00:00 2001 From: AppFeel Date: Tue, 23 Jun 2015 19:05:55 +0200 Subject: [PATCH] Add fade method --- www/OverAppBrowser.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/www/OverAppBrowser.js b/www/OverAppBrowser.js index 553e012..5cc07ba 100755 --- a/www/OverAppBrowser.js +++ b/www/OverAppBrowser.js @@ -1,4 +1,3 @@ -// // OverAppBrowser.js // OverAppBrowser Cordova Plugin // @@ -32,7 +31,10 @@ OverAppBrowser.prototype = { exec(null, null, "OverAppBrowser", "close", []); }, show: function (eventname) { - exec(null, null, "OverAppBrowser", "show", []); + exec(null, null, "OverAppBrowser", "show", []); + }, + fade: function (toAlpha, duration) { + exec(null, null, "OverAppBrowser", "fade", [toAlpha, duration]); }, addEventListener: function (eventname,f) { if (eventname in this.channels) {