diff -r 322d0feea350 -r 89ef5ed3c48b src/cm/media/js/lib/yui/yui_3.10.3/api/modules/event-move.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cm/media/js/lib/yui/yui_3.10.3/api/modules/event-move.html Tue Jul 16 14:29:46 2013 +0200 @@ -0,0 +1,1602 @@ + + + + + event-move - YUI 3 + + + + + + + + +
+
+
+ +

+ +
+
+ API Docs for: 3.10.3 +
+
+
+ +
+ +
+
+
+ Show: + + + + + + + +
+ + +
+
+
+

event-move Module

+
+ + + + + +
+ Defined in: event-gestures/js/Move.js:1 +
+ + + +
+ + + +
+

Adds lower level support for "gesturemovestart", "gesturemove" and "gesturemoveend" events, which can be used to create drag/drop +interactions which work across touch and mouse input devices. They correspond to "touchstart", "touchmove" and "touchend" on a touch input +device, and "mousedown", "mousemove", "mouseup" on a mouse based input device.

+ +

Documentation for the gesturemove triplet of events can be found on the YUI global, +along with the other supported events.

+
+ + +
+

Example:

+
+
YUI().use('event-move', function (Y) {
+    Y.one('#myNode').on('gesturemovestart', function (e) {
+        Y.log('gesturemovestart Fired.');
+    });
+    Y.one('#myNode').on('gesturemove', function (e) {
+        Y.log('gesturemove Fired.');
+    });
+    Y.one('#myNode').on('gesturemoveend', function (e) {
+        Y.log('gesturemoveend Fired.');
+    });
+});
+
+
+
+ + +
+
+ +
+ +
+ +
+
+ +
+
+
+
+
+
+ + + + + + + + + +