Search
Clicked Event

Raised when the user clicks the diagram at a point where no items are located.

Syntax

JavaScript  Copy Code
function onClicked (sender, args)

Event Data

Clicked event handlers receive an argument of type DiagramEventArgs.

Remarks

This event is raised only if the user clicks an unoccupied point of the diagram. If the user clicks a diagram item, one of the following events is raised: NodeClicked, LinkClicked.To handle the Clicked event, assign the name of the respective JavaScript function (for example 'onClicked ') to the ClickedScript property.

See Also

Diagram Members
Diagram Class
MindFusion.Diagramming Namespace