Skip to content

TabbedPanel

class

Back to Helios Web API

Kind
class
Source
src/ui/panels/TabbedPanel.js:24

Description

Small tabbed panel primitive used by the optional Helios UI.

Signature

export class TabbedPanel {

Parameters

NameTypeAttributesDefaultDescription
optionsObjectoptionalTab panel options.
tabsArray.<Object>optionalInitial tabs.
activeIdstringoptionalInitially active tab id.

Lifecycle

Creation, initialization, prewarming, cleanup, and renderer lifetime.

destroy()

Source: src/ui/panels/TabbedPanel.js:100

Manages destroy for the current instance.

Configuration

General configuration setters and compatibility helpers.

setActive(id) → {this}

Source: src/ui/panels/TabbedPanel.js:79

Set the active setting.

Parameters

NameTypeAttributesDefaultDescription
idValue passed to setActive.

Returns

This instance.

Type this

Utilities

Additional public helpers that do not belong to a narrower API area.

addTab(tab) → {this}

Source: src/ui/panels/TabbedPanel.js:57

Manages tab for the current instance.

Parameters

NameTypeAttributesDefaultDescription
tabValue passed to addTab.

Returns

This instance.

Type this

activeId()

Source: src/ui/panels/TabbedPanel.js:96

Configures or reads active id.