cheatgui
Preparing search index...
functions
toggle
Function toggle
toggle
(
options
:
{
label
:
string
;
onChange
?:
(
value
:
boolean
)
=>
void
;
value
?:
boolean
;
}
,
)
:
ToggleWidget
Create a toggle widget
Parameters
options
:
{
label
:
string
;
onChange
?:
(
value
:
boolean
)
=>
void
;
value
?:
boolean
}
Toggle options
label
:
string
Toggle label
Optional
onChange
?:
(
value
:
boolean
)
=>
void
Change callback
Optional
value
?:
boolean
Initial value
Returns
ToggleWidget
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
cheatgui
Loading...
Create a toggle widget