Class Touch
Class defined in:src/gestures/touch.js:4
when a touch is being touched at the page
prevent_default
<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: falseprevent_mouseevents
<Boolean>
src/gestures/touch.js:28
disable mouse events, so only touch (or pen!) input triggers events
Default: false