blessed-components - v1.20.0
GitHub
Roadmap
Preparing search index...
index
ToolbarData
Interface ToolbarData<TItem>
interface
ToolbarData
<
TItem
extends
ToolbarItem
=
ToolbarItem
>
{
activeId
?:
string
;
capabilities
?:
Pick
<
TerminalCapabilities
,
"unicode"
>
;
characters
?:
ToolbarCharacters
;
dense
?:
boolean
;
items
:
readonly
TItem
[]
;
onAction
?:
(
item
:
TItem
)
=>
void
;
onActiveIdChange
?:
(
id
:
string
)
=>
void
;
width
?:
number
;
}
Type Parameters
TItem
extends
ToolbarItem
=
ToolbarItem
Index
Properties
active
Id?
capabilities?
characters?
dense?
items
on
Action?
on
Active
Id
Change?
width?
Properties
Optional
active
Id
activeId
?:
string
Optional
capabilities
capabilities
?:
Pick
<
TerminalCapabilities
,
"unicode"
>
Optional
characters
characters
?:
ToolbarCharacters
Optional
dense
dense
?:
boolean
items
items
:
readonly
TItem
[]
Optional
on
Action
onAction
?:
(
item
:
TItem
)
=>
void
Optional
on
Active
Id
Change
onActiveIdChange
?:
(
id
:
string
)
=>
void
Optional
width
width
?:
number
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
active
Id
capabilities
characters
dense
items
on
Action
on
Active
Id
Change
width
GitHub
Roadmap
blessed-components - v1.20.0
Loading...