Tab
An instance of Tab represents an individual draggable tab control inside a
stack header. It binds directly to its underlying ComponentItem and
provides DOM elements for the title label and close button.
Properties
componentItem
A reference to the ComponentItem node associated with this tab.
isActive
True if this tab is the currently active tab in its parent stack.
element
The native HTMLElement for the entire tab control.
titleElement
The HTMLElement containing the tab text label.
closeElement
The HTMLElement | undefined representing the close icon (if closable).
reorderEnabled
Whether this tab can be dragged to reorder.
setTitle( title )
| argument | type | optional | default | description |
|---|---|---|---|---|
| title | string | false | - | The new tab title string to display. |
setActive( isActive )
| argument | type | optional | default | description |
|---|---|---|---|---|
| isActive | boolean | false | - | Whether to set this tab as active. |
Community & Support
Need help or have architectural questions?
Whether you are building complex multi-screen trading terminals, enterprise data workspaces, or migrating from legacy layout engines, the Strelit UI Kit engineering team and community are here to help.
Open an Issue on GitHub →