toggle wireup

This commit is contained in:
Adam Bradley
2013-09-27 09:55:01 -05:00
parent 72bae87ca7
commit 66bb676aa3
3 changed files with 47 additions and 2 deletions

16
ext/simple/toggle.js Normal file
View File

@ -0,0 +1,16 @@
(function(window, document, ionic) {
function initalize() {
ionic.on("swipe", swipe, document.body)
}
function swipe(e) {
alert(e.target.tagName)
}
ionic.on("domready", initalize);
})(window, document, ionic);