Skip to content

Commit

Permalink
Add resize method
Browse files Browse the repository at this point in the history
  • Loading branch information
appfeel committed Jun 24, 2015
1 parent b8f8944 commit 825b865
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions www/OverAppBrowser.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 825b865

Please sign in to comment.