Search
Diagram.activeItem Property
See Also
 






Gets the active diagram item.

Namespace: MindFusion.Diagramming
File: Diagram.js

 Syntax

JavaScript  Copy Code

get activeItem() {}

 Property Value

DiagramItem

The active item, or null if no item is active.

 Remarks

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.

 See Also