Search
Preparing search index...
The search index is not available
tabby-core
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
tabby-core
Command
Class Command
Hierarchy
Command
Index
Constructors
constructor
Properties
icon
id
label
locations
run
sublabel
touch
BarNSImage
touch
Bar
Title
weight
Methods
from
Menu
Item
from
Toolbar
Button
Constructors
constructor
new
Command
(
)
:
Command
Returns
Command
Properties
Optional
icon
icon
?:
string
Raw SVG icon code
Optional
id
id
?:
string
label
label
:
string
Optional
locations
locations
?:
CommandLocation
[]
run
run
:
(
(
)
=>
Promise
<
void
>
)
Type declaration
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Optional
sublabel
sublabel
?:
string
Optional
touch
BarNSImage
touch
BarNSImage
?:
string
Optional Touch Bar icon ID
Optional
touch
Bar
Title
touch
Bar
Title
?:
string
Optional Touch Bar button label
Optional
weight
weight
?:
number
Methods
Static
from
Menu
Item
from
Menu
Item
(
item
:
MenuItemOptions
)
:
Command
Parameters
item:
MenuItemOptions
Returns
Command
Static
from
Toolbar
Button
from
Toolbar
Button
(
button
:
IToolbarButton
)
:
Command
Parameters
button:
IToolbarButton
Returns
Command
Exports
Command
constructor
icon
id
label
locations
run
sublabel
touch
BarNSImage
touch
Bar
Title
weight
from
Menu
Item
from
Toolbar
Button
Generated using
TypeDoc
Raw SVG icon code