Gets the active diagram item.
Namespace: MindFusion.Diagramming
Package: Diagram.js
JavaScript Copy Code |
---|
get activeItem() {} |
DiagramItem
The active item, or null if no item is active.
activeItem is set to the last selected item, and has a distinct appearance from other items as set in activeItemHandlesStyle. Some possible uses for it are as target position when aligning multiple selected items, or as a source of property values when copying styles.
NetDiagram Programmer's Guide | © 2023 MindFusion |