Diagram.activeItem Property
See Also

Gets the active diagram item.

Namespace: MindFusion.Diagramming
Package: Diagram.js


JavaScript  Copy Code

get activeItem() {}

 Property Value


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.

 See Also