Sidebar

Sidebar

Render the Sidebar container, and after rendering insert Sidebar tabs

Constructor

Source:

Members

(static) defaultOptions

Source:

_collapsed :Boolean

Source:

Track whether the sidebar container is currently collapsed

Type:
  • Boolean

activeTab :String

Source:

Reference the name of the active tab

Type:

apps :Array

Source:

Sidebar application instances

Type:

popouts :Array

Source:

Return an Array of pop-out sidebar tab Application instances

Type:

tabs :Tabs

Source:

Sidebar navigation tabs

Type:

Methods

(async) _render()

Source:

activateListeners()

Source:

activateTab(tabName)

Source:

Activate a Sidebar tab by it's name

Parameters:
Name Type Description
tabName String

The tab name corresponding to it's "data-tab" attribute

collapse()

Source:

Collapse the sidebar to a minimized state. Take no action if the sidebar is already collapsed.

expand()

Source:

Expand the Sidebar container from a collapsed state. Take no action if the sidebar is already expanded.

getData()

Source: