-
Notifications
You must be signed in to change notification settings - Fork 295
touch
bitpshr edited this page Jan 26, 2013
·
7 revisions
The util/touch
module defines two simple extension events, tap
and doubletap
, for detecting the respective actions on touch devices.
require(["dgrid/util/touch"], function(misc){
// party, you have extra touch support
});
Method | Description |
---|---|
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 call stopPropagation , thus affecting other means of counting touches. |
selector(selector, eventType, children) |
a version of the selector function from dojo/on , with an additional fix to work around issues experienced on iOS Safari. This is used by dgrid/Selection and dgrid/tree for touch event handling. |