Trilium Frontend API
Preparing search index...
<internal>
MenuObject
Interface MenuObject<T>
interface
MenuObject
<
T
extends
RowComponent
|
CellComponent
|
ColumnComponent
|
GroupComponent
,
>
{
action
?:
(
e
:
any
,
component
:
T
)
=>
any
;
disabled
?:
boolean
|
(
(
component
:
T
)
=>
boolean
)
;
label
:
string
|
HTMLElement
|
(
(
component
:
T
)
=>
string
|
HTMLElement
)
;
menu
?:
MenuObject
<
T
>
[]
;
}
Type Parameters
T
extends
RowComponent
|
CellComponent
|
ColumnComponent
|
GroupComponent
Index
Properties
action?
disabled?
label
menu?
Properties
Optional
action
action
?:
(
e
:
any
,
component
:
T
)
=>
any
Optional
disabled
disabled
?:
boolean
|
(
(
component
:
T
)
=>
boolean
)
label
label
:
string
|
HTMLElement
|
(
(
component
:
T
)
=>
string
|
HTMLElement
)
Optional
menu
menu
?:
MenuObject
<
T
>
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
action
disabled
label
menu
Trilium Frontend API
Loading...