Class CQ_Analytics.Observable
| Package: | CQ_Analytics |
| Class: | Observable |
| Subclasses: | SessionStore |
| Extends: | Object |
| Clientlib: | personalization.core |
An Observable adds the observable design pattern to an object: this object fires events and allows other objects to
listen to these events and react.
Public Properties
This class has no public properties.
Public Methods
| |
Observable()
Creates a new Observable.
Creates a new Observable.
|
Observable |
| |
addListener( String event, Function fct, [Object scope] ) : void
Appends an event handler to the current Observable.
Appends an event handler to the current Observable.
|
Observable |
| |
removeListener( String event, Function fct ) : void
Removes an event handler from the current Observable.
Removes an event handler from the current Observable.
|
Observable |
| |
setSuppressEvents( Boolean suppressEvents ) : void
Sets the value of the suppressEvents property
Sets the value of the suppressEvents property
|
Observable |
Public Events
This class has no public events.