event-touch Module
+ + + + +
+
+
+
+ Adds touch event facade normalization properties (touches, changedTouches, targetTouches etc.) to the DOM event facade. Adds +touch events to the DOM events whitelist.
+
+
+
+
+Example:
+
+
+ YUI().use('event-touch', function (Y) {
+ Y.one('#myDiv').on('touchstart', function(e) {
+ ...
+ });
+});
+
+
+
+
+
+
+
+
+
+
+
+