Search
ItemAdded Event

Raised when an item is added to the diagram, either programmatically or interactively.

Syntax

JavaScript  Copy Code

function onItemAdded (sender, args)

Event Data

ItemAdded handlers receive an event object of type ItemEventArgs.

Remarks

To handle the ItemAdded event, assign the name of the respective JavaScript function (for example 'onItemAdded') to the  ItemAddedScript property.

See Also

Diagram Members
Diagram Class
MindFusion.Diagramming Namespace
ItemRemoved Event