Namespace: Sidebar

Sidebar

Sidebar

Classes

SidebarModel
SidebarView

Events

addContent

devtools/jsdoc/events.js, line 71
Triggered by Model when new content is available.
Name Type Description
element DOM The dom element that has to be added to the sidebar.
Listeners of This Event:

changeIsMobile

devtools/jsdoc/events.js, line 64
Triggered when Model attribute "isMobile" has changed.
Name Type Description
model Backbone/Model The model whose attribute hat changed.
value Boolean The attribute value that has changed.
Listeners of This Event:

changeIsVisible

devtools/jsdoc/events.js, line 57
Triggered when Model attribute "isVisible" has changed.
Name Type Description
model Backbone/Model The model whose attribute hat changed.
value Boolean The attribute value that has changed.
Listeners of This Event:

RadioTriggerSidebarAppend

devtools/jsdoc/events.js, line 90
Triggered by ToolModel that renders in sidebar.
Name Type Description
element HTML The Element that has to be rendered in sidebar.
Listeners of This Event:
Example
Radio.trigger("Sidebar", "append", element)

RadioTriggerSidebarToggle

devtools/jsdoc/events.js, line 83
Triggered by ToolModel that renders in sidebar.
Name Type Default Description
isVisible Boolean Flag if sidebar is now visible or not.
width String "30%" optional The width of the sidebar.
Listeners of This Event:
Example
Radio.trigger("Sidebar", "toggle", isVisible, width)

setWidth

devtools/jsdoc/events.js, line 77
Triggered by Model when sidebar is toggled.
Name Type Description
width String Width of sidebar.
Listeners of This Event: