Cancel outside element
If long press should be cancelled when moved outside element
Name
cancelOutsideElement
Type
boolean
Default value
true
Description
If long press should be canceled when moving mouse / touch / pointer outside the element to which it was bound. When cancelled returns
Javascript
TypeScript
as a cancel reason in onCancel callback. Works for mouse and pointer events, touch events may be supported in the future.
Last updated