Yahoo! UI Library

event-gestures  3.3.0pr1

Yahoo! UI Library > event-gestures
Search:
 
Filters

Module: event-gestures

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.

Submodules:

event-flick
Adds support for a "flick" event, which is fired at the end of a touch or mouse based flick gesture, and provides velocity of the flick, along with distance and time information.
event-move
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.

Copyright © 2010 Yahoo! Inc. All rights reserved.