A validation event raised while the user is drawing a new node. The event handlers get a NodeEventArgs instance that contains data about this event.
Namespace: MindFusion.Diagramming
Package: Events.js
JavaScript Copy Code |
---|
var nodeCreating |
Event handlers can set the Cancel property to true to display the stop cursor and indicate that releasing the mouse button at the current position will cancel the operation. Alternatively, calling the cancelDrag method immediately cancels the operation.