From 825b86567bdca3fc2c4aefe43ec0c3254db606e7 Mon Sep 17 00:00:00 2001 From: AppFeel Date: Wed, 24 Jun 2015 09:06:03 +0200 Subject: [PATCH] Add resize method --- www/OverAppBrowser.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/www/OverAppBrowser.js b/www/OverAppBrowser.js index 5cc07ba..ddd60fa 100755 --- a/www/OverAppBrowser.js +++ b/www/OverAppBrowser.js @@ -36,6 +36,9 @@ OverAppBrowser.prototype = { fade: function (toAlpha, duration) { exec(null, null, "OverAppBrowser", "fade", [toAlpha, duration]); }, + resize: function (originx, originy, width, height) { + exec(null, null, "OverAppBrowser", "resize", [originx, originy, width, height]); + }, addEventListener: function (eventname,f) { if (eventname in this.channels) { this.channels[eventname].subscribe(f);