new ControlsView(){void}
modules/controls/view.js, line 18
This view component manages the placements of the controls.
It gets triggered by the app.js for the controls to be placed
Listens to Events:
- Controls#event:RadioRequestControlsViewAddRowTop
- Controls#event:RadioRequestControlsViewAddRowBottom
- Controls#event:RadioRequestControlsViewAddRowTr
- Controls#event:RadioRequestControlsViewAddRowTl
- Controls#event:RadioRequestControlsViewAddRowBr
- Controls#event:RadioRequestControlsViewAddRowBl
Extends
Methods
-
addRowBL(id){object}
modules/controls/view.js, line 148 -
Adds an div-container to the bottom-left container and places the id of the control to be rendered.
Name Type Description id
String Id of control Returns:
JQueryObject of the generated element
-
addRowBottom(id, showMobile){object}
modules/controls/view.js, line 84 -
Adds an div-container to the bottom and places the id of the control to be rendered.
Name Type Description id
String Id of control showMobile
Boolean Flag if control should also be shown in mobile mode Returns:
JQueryObject of the generated element
-
addRowBR(id, showMobile){object}
modules/controls/view.js, line 132 -
Adds an div-container to the bottom-right container and places the id of the control to be rendered.
Name Type Description id
String Id of control showMobile
Boolean Flag if control should also be shown in mobile mode Returns:
JQueryObject of the generated element
-
addRowTL(id, showMobile){object}
modules/controls/view.js, line 116 -
Adds an div-container to the top-left container and places the id of the control to be rendered.
Name Type Description id
String Id of control showMobile
Boolean Flag if control should also be shown in mobile mode Returns:
JQueryObject of the generated element
-
addRowTop(id, showMobile){object}
modules/controls/view.js, line 68 -
Adds an div-container to the top and places the id of the control to be rendered.
Name Type Description id
String Id of control showMobile
Boolean Flag if control should also be shown in mobile mode Returns:
JQueryObject of the generated element
-
addRowTR(id, showMobile){object}
modules/controls/view.js, line 100 -
Adds an div-container to the top-right container and places the id of the control to be rendered.
Name Type Description id
String Id of control showMobile
Boolean Flag if control should also be shown in mobile mode Returns:
JQueryObject of the generated element
-
render(){ControlsView}
modules/controls/view.js, line 42 -
Renders the controls and its subview
Returns:
Itself
-
renderSubViews(){void}
modules/controls/view.js, line 53 -
Renders container for top-right, top-left, bottom-right and bottom-left