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 objectshandleEventmethod will be called when the event is fired.