MindFusion.Charting for JavaScript Programmer's Guide
Disposable.addEventListener 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

Registers a single event listener on the instance.

Namespace: MindFusion.Controls
File: Control.js

## Syntax

JavaScript Copy Code
function addEventListener (eventName, handler, [element])

### Parameters

eventName

  Type: String
  String. The name of the event.

handler

  Type: Method
  Method. Represents the method that will handle the event specified with eventName.

element
  Optional.

  Type: Object
  Object. For internal use.

## See Also

Disposable Members
Disposable Class
MindFusion.Controls Namespace
removeEventListener Method