Removes an event listener from this event.
Namespace: MindFusion.Common
File: EventDispatcher.js
JavaScript Copy Code |
---|
function removeEventListener (handler) |
function. The handler function.
This is how you remove the nodeClicked event of a diagram instance.
JavaScript Copy Code |
---|
diagram.removeEventListener(Events.nodeClicked, onNodeClicked); |