-
Notifications
You must be signed in to change notification settings - Fork 295
touch
bitpshr edited this page Jan 25, 2013
·
7 revisions
The util/touch
module defines two simple extension events, tap
and
doubletap
, for detecting the respective actions on touch devices.
In addition, it exposes the following functions:
-
countCurrentTouches(event, node)
- a function which counts the number of currently active touches which fall within the given node; useful in cases where other handlers may callstopPropagation
, thus affecting other means of counting touches. -
selector(selector, eventType, children)
- a version of theselector
function fromdojo/on
, with an additional fix to work around issues experienced on iOS Safari. This is used bydgrid/Selection
anddgrid/tree
for touch event handling.