Search
EventDispatcher.removeEventListener Method
See Also
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: None Language Filter: C# Language Filter: Visual Basic Language Filter: Java Language Filter: JavaScript Language Filter: C++ Language Filter: XAML
C#
Visual Basic
Java
JavaScript
C++
XAML
Introduction
General Information
What's New In This Release
Version History
Getting Started
Code Completion With VSDoc IntelliSense
Programming Interface Overview
Tutorials
Reference
MindFusion.Common
Control Class
DateFormats Class
DateSettings Class
EventDispatcher Class
EventDispatcher Members
EventDispatcher Methods
addEventListener Method
raiseEvent Method
removeEventListener Method
IdGenerator Class
Locale Class
NotifyCollectionChangedAction Class
NotifyCollectionChangedEventArgs Class
NotifyCollectionChangingEventArgs Class
PropertyEventArgs Class
UIControl Class
Unit Class
UnitType Enumeration
MindFusion.Common.Collections
MindFusion.Controls
MindFusion.Scheduling
Licensing
Online Resources
Technical Support
MindFusion Products

Removes an event listener from this event.

Namespace: MindFusion.Common
Assembly: EventDispatcher.js

## Syntax

JavaScript Copy Code
function removeEventListener (handler)

### Parameters

handler

  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