addEventListener
Register an object as a listener to certain events.
- Documentation
- › API
- › DOM API
- › addEventListener
XopusNode.addEventListener( type : String, listener : Function|Object)
: String, listener : Function|Object)Arguments
- type
- String. The name of the event to listen to.
- listener
- Function|Object. This function or this objects
handleEventmethod will be called when the event is fired.