Trilium Frontend API
Preparing search index...
<internal>
FormToggleProps
Interface FormToggleProps
interface
FormToggleProps
{
afterName
?:
ComponentChildren
;
currentValue
:
boolean
;
disabled
?:
boolean
;
helpPage
?:
string
;
switchOffName
:
string
;
switchOffTooltip
?:
string
;
switchOnName
:
string
;
switchOnTooltip
?:
string
;
onChange
(
newValue
:
boolean
)
:
void
;
}
Index
Properties
after
Name?
current
Value
disabled?
help
Page?
switch
Off
Name
switch
Off
Tooltip?
switch
On
Name
switch
On
Tooltip?
Methods
on
Change
Properties
Optional
after
Name
afterName
?:
ComponentChildren
current
Value
currentValue
:
boolean
Optional
disabled
disabled
?:
boolean
Optional
help
Page
helpPage
?:
string
switch
Off
Name
switchOffName
:
string
Optional
switch
Off
Tooltip
switchOffTooltip
?:
string
switch
On
Name
switchOnName
:
string
Optional
switch
On
Tooltip
switchOnTooltip
?:
string
Methods
on
Change
onChange
(
newValue
:
boolean
)
:
void
Parameters
newValue
:
boolean
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
after
Name
current
Value
disabled
help
Page
switch
Off
Name
switch
Off
Tooltip
switch
On
Name
switch
On
Tooltip
Methods
on
Change
Trilium Frontend API
Loading...