Editor.addSimpleListener
Deprecated. Use Editor.addEventListener instead.
Register an object as a listener to certain events.
- Documentation
- › API
- › Global objects API
- › Editor.addSimpleListener
Editor.addSimpleListener( type : String, listener : Function)
: String, listener : Function)
Warning: this page describes deprecated functionality.
Don't start using it, and please update existing code to use alternatives.
Arguments
- type
- String. Event name
- listener
- Function. Event handler function.