event-gestures/js/Flick.js:1
The gestures module provides gesture events such as "flick", which normalize user interactions across touch and mouse or pointer based input devices. This layer can be used by application developers to build input device agnostic components which behave the same in response to either touch or mouse based interaction.
Documentation for events added by this module can be found in the event document for the YUI global.
YUI().use('event-flick', function (Y) {
Y.one('#myNode').on('flick', function (e) {
Y.log('flick event fired. The event payload has goodies.');
});
});
This module is a rollup of the following modules:
Documentation for the flick event can be found on the YUI global, along with the other supported events.
Documentation for the gesturemove triplet of events can be found on the YUI global, along with the other supported events.