Search
AddItemCommand Constructor
See Also
 





Initializes a new instance of the AddItemCommand class.

Namespace: MindFusion.Diagramming
Package: AddItemCommand.js

 Syntax

JavaScript  Copy Code

function AddItemCommand (diagram, item)

 Parameters

diagram

The Diagram modified by this command.

item

A new DiagramItem that should be added to the Diagram.

 See Also