Class enchant.widget.GestureDetector
- Defined in: widget.enchant.js
- Extends enchant.EventTarget
Constructor Attributes | Constructor Name and Description |
---|---|
enchant.widget.GestureDetector(target)
Issue event after detecting several gestures.
|
Method Summary
- Methods borrowed from class enchant.EventTarget:
- addEventListener
- clearEventListener
- dispatchEvent
- on
- removeEventListener
Class Detail
enchant.widget.GestureDetector(target)
Issue event after detecting several gestures.
Can detect tap, double tap, hold, drag, flick, and more.
- Parameters:
- {enchant.Entity} target
- Object for which you wish to detect input.