Trilium Frontend API
Preparing search index...
<internal>
ActionButtonProps
Interface ActionButtonProps
From T, pick a set of properties whose keys are in the union K
interface
ActionButtonProps
{
active
?:
boolean
;
className
?:
string
;
disabled
?:
boolean
;
frame
?:
boolean
;
icon
:
string
;
noIconActionClass
?:
boolean
;
onAuxClick
?:
MouseEventHandler
<
HTMLButtonElement
>
;
onClick
?:
MouseEventHandler
<
HTMLButtonElement
>
;
onContextMenu
?:
MouseEventHandler
<
HTMLButtonElement
>
;
text
:
string
;
titlePosition
?:
"bottom"
|
"left"
|
"right"
|
"top"
;
triggerCommand
?:
keyof
CommandMappings
;
}
Hierarchy (
View Summary
)
Pick
<
HTMLAttributes
<
HTMLButtonElement
>
,
"onClick"
|
"onAuxClick"
|
"onContextMenu"
,
>
ActionButtonProps
Index
Properties
active?
class
Name?
disabled?
frame?
icon
no
Icon
Action
Class?
on
Aux
Click?
on
Click?
on
Context
Menu?
text
title
Position?
trigger
Command?
Properties
Optional
active
active
?:
boolean
Optional
class
Name
className
?:
string
Optional
disabled
disabled
?:
boolean
Optional
frame
frame
?:
boolean
icon
icon
:
string
Optional
no
Icon
Action
Class
noIconActionClass
?:
boolean
Optional
on
Aux
Click
onAuxClick
?:
MouseEventHandler
<
HTMLButtonElement
>
Optional
on
Click
onClick
?:
MouseEventHandler
<
HTMLButtonElement
>
Optional
on
Context
Menu
onContextMenu
?:
MouseEventHandler
<
HTMLButtonElement
>
text
text
:
string
Optional
title
Position
titlePosition
?:
"bottom"
|
"left"
|
"right"
|
"top"
Optional
trigger
Command
triggerCommand
?:
keyof
CommandMappings
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
active
class
Name
disabled
frame
icon
no
Icon
Action
Class
on
Aux
Click
on
Click
on
Context
Menu
text
title
Position
trigger
Command
Trilium Frontend API
Loading...
From T, pick a set of properties whose keys are in the union K