API Docs for: 1.1.2

Class Touch

Class defined in: src/gestures/touch.js:4

when a touch is being touched at the page

preventDefault <Boolean>
src/gestures/touch.js:18

call preventDefault at touchstart, and makes the element blocking by disabling the scrolling of the page, but it improves gestures like transforming and dragging. be careful with using this, it can be very annoying for users to be stuck on the page

Default: false
preventMouse <Boolean>
src/gestures/touch.js:28

disable mouse events, so only touch (or pen!) input triggers events

Default: false
touch
src/gestures/touch.js:10 Extra event object properties: