Represents a tab within a {@link TabGroup group of tabs}. Tabs are merely the graphical representation within the editor area. A backing editor is not a guarantee.
Represents a tab within a {@link TabGroup group of tabs}. Tabs are merely the graphical representation within the editor area. A backing editor is not a guarantee.
(active? tab)
Whether or not the tab is currently active. This is dictated by being the selected tab in the group.
Returns: boolean
Whether or not the tab is currently active. This is dictated by being the selected tab in the group. **Returns:** `boolean`
(dirty? tab)
Whether or not the dirty indicator is present on the tab.
Returns: boolean
Whether or not the dirty indicator is present on the tab. **Returns:** `boolean`
(group tab)
The group which the tab belongs to.
Returns: TabGroup
The group which the tab belongs to. **Returns:** `TabGroup`
(input tab)
Defines the structure of the tab i.e. text, notebook, custom, etc. Resource and other useful properties are defined on the tab kind.
Returns: unknown
Defines the structure of the tab i.e. text, notebook, custom, etc. Resource and other useful properties are defined on the tab kind. **Returns:** `unknown`
(label tab)
The text displayed on the tab.
Returns: string
The text displayed on the tab. **Returns:** `string`
(pinned? tab)
Whether or not the tab is pinned (pin icon is present).
Returns: boolean
Whether or not the tab is pinned (pin icon is present). **Returns:** `boolean`
(preview? tab)
Whether or not the tab is in preview mode.
Returns: boolean
Whether or not the tab is in preview mode. **Returns:** `boolean`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close