MindFusion.Charting for JavaScript Programmer's Guide
EventDispatcher.removeEventListener Method
See Also
 






Removes an event listener from this event.

Namespace: MindFusion.Common
File: EventDispatcher.js

 Syntax

JavaScript  Copy Code

function removeEventListener (handler)

 Parameters

handler

Type: function
function. The handler function.

 Example

This is how you remove the nodeClicked event of a diagram instance.

JavaScript  Copy Code
diagram.removeEventListener(Events.nodeClicked, onNodeClicked);

 See Also

EventDispatcher Members
EventDispatcher Class
MindFusion.Common Namespace