addSimpleListener

Deprecated. Use addEventListener instead.

Register an object as a listener to certain events.


XopusNode.addSimpleListener( eventName : String,  listenerFn : Function)

Warning: this page describes deprecated functionality.
Don't start using it, and please update existing code to use alternatives.

Arguments

eventName
String. The name of the event to listen to.
listenerFn
Function. The function that will be called when the event is fired.