Gets or sets a value indicating whether the control handles DOM Pointer events to implement multi-touch interactions, such as zooming, node rotation or simultaneous drawing of multiple diagram items.
Namespace: MindFusion.Diagramming
File: DiagramView.js
JavaScript Copy Code |
---|
get enableMultiTouch() {} |
Boolean
true to enable multi-touch, or false otherwise. The default value is true.
Set this property to false if you need to handle touch events yourself or through a third-party gesture library. If disabled, the control will revert to its mouse event handling code from previous versions. It will also no longer be able to capture the mouse input during drag operations (to detect mouse pointer leaving the view), which is handled through DOM Pointers API.
JavaScript Pack Programmer's Guide | © 2024 MindFusion |