The widget controller that communicates with the view and listens to its remoteStorage instance.
While listening to the events emitted by its remoteStorage it sets corresponding states of the view.
| RemoteStorage. | The widget controller that communicates with the view and listens to its remoteStorage instance. |
| Functions | |
| display | Displays the widget via the view.display method |
| setView(view) | Sets the view and initializes event listeners to react on widget (widget.view) events |
| displayWidget | Same as display |
RemoteStorage.prototype.displayWidget = function ( options )
Same as display
Displays the widget via the view.display method
display: function ( options )
Sets the view and initializes event listeners to react on widget (widget.view) events
setView: function ( view )
Same as display
RemoteStorage.prototype.displayWidget = function ( options )