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:

Return the name of the active Sidebar tab

Type:
  • string

apps :Array.<Application>

Source:

Sidebar application instances

Type:

popouts :Array.<Application>

Source:

Return an Array of pop-out sidebar tab Application instances

Type:

Methods

_onChangeTab()

Source:

(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: