jsCow.res.view.group Class
Represents the view class of the jsCow group component.
Constructor
jsCow.res.view.group
()
Item Index
Properties
Methods
init Set all default view properties and trigger the component event 'view.update'.
()
The view init method can used to set default view properties. By trigger the event 'model.ready' the controller will trigger the event 'view.init' to call this method.
update
(
-
eventdata
The view update method will update the complete component view by trigger the event 'view.update' with all available model data.
Parameters:
-
eventdataObjectContains all sent event data
Properties
dom
Object
Objekt for all needed HTML-DOM elements of the component.
Default: {} Object
dom.content
Object
Represents the inner html container of the component.
Default: <div/> jQuery DIV object
dom.main
Object
Represents the html main container of the component.
Default: <div/> jQuery DIV object
