mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 07:41:51 +08:00
toggle wireup
This commit is contained in:
16
ext/simple/toggle.js
Normal file
16
ext/simple/toggle.js
Normal 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);
|
||||
Reference in New Issue
Block a user