...
Adds listener to component. For more information see component events.
Arguments:
- listener - [object] listener to add
...
To every component you can add listener using addOnChangeListener method. Listener object should have methods that will be executed when event is fired. Depends of component object different methods will be executed (see below)
...