Sets the name of a JavaScript function that should be invoked when an item is added to the diagram.
Namespace: MindFusion.Diagramming.Mvc
Assembly: MindFusion.Diagramming.Mvc
C# Copy Code |
---|
public DiagramView ItemAddedScript ( |
Visual Basic Copy Code |
---|
Public Function ItemAddedScript( _ |
A string specifying the name of the client-side event handler.
Returns this instance for method chaining.
This event is raised both when items are drawn interactively or added from code - unlike NodeCreated and LinkCreated which are only raised for interactively-created items.
MvcDiagram Programmer's Guide | © 2024 MindFusion |