Search
DiagramView.enableMultiTouch Property
See Also
 





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
Package: DiagramView.js

 Syntax

JavaScript  Copy Code

get enableMultiTouch() {}
set enableMultiTouch(value) {}

 Property Value

Boolean

true to enable multi-touch, or false otherwise. The default value is true.

 Remarks

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.

 See Also