Gets or sets a value indicating which adjustment handles are enabled for this node.
Namespace: MindFusion.Diagramming
File: DiagramNode.js
JavaScript Copy Code |
---|
get enabledHandles() {} |
AdjustmentHandles
A combination of the AdjustmentHandles enumeration members. The default is AdjustmentHandles.All.
Disabling some selection handles allows restricting the types of modifications that users can perform on a node. Each manipulation handle can be enabled or disabled by setting or clearing the respective flag in the combination.
For example, to make a node resizable only horizontally, set this property to a combination of the Move, ResizeMiddleLeft and ResizeMiddleRight flags. That will disable all manipulation handles, except the left and right ones, which allow horizontal resizing, and the central one allowing movement of the node.
JavaScript Pack Programmer's Guide | © 2024 MindFusion |