Gets the active diagram item.
Namespace: MindFusion.Diagramming
File: 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.
JavaScript Pack Programmer's Guide | © 2024 MindFusion |