Documentation Center

addEventListener

Description

Register an object as a listener to certain events.

Syntax

XopusNode .addEventListener (type : String, listener : Function|Object)

Arguments

type
String. The name of the event to listen to.
listener
Function|Object. This function or this objects handleEvent method will be called when the event is fired.