Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #7 from jzaefferer/patch-1

viewporter.change() method for alternative binding capability.
  • Loading branch information...
commit 6959ed558abeb783dc5e4c9a8752ca604b2ef4fe 2 parents 2683144 + 84e0aa9
@martensms martensms authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/viewporter.js
View
4 src/viewporter.js
@@ -26,6 +26,10 @@ var viewporter;
ready: function(callback) {
window.addEventListener('viewportready', callback, false);
+ },
+
+ change: function(callback) {
+ window.addEventListener('viewportchange', callback, false);
}
};
Please sign in to comment.
Something went wrong with that request. Please try again.