Search
Selection.addItem Method
See Also
 






Adds an item to the Selection.

Namespace: MindFusion.Diagramming
File: Selection.js

 Syntax

JavaScript  Copy Code

function addItem (item)

 Parameters

item
The item to add.

 Remarks

This method adds a new item to the selection. It also deactivates the activeItem, if any, and makes the newly added item the active one.

 See Also