frontend
Preparing search index...
components/common/SettingsPanel
SettingsItem
Interface SettingsItem
A single setting item (checkbox or select) in the settings panel.
interface
SettingsItem
{
checked
?:
boolean
;
disabled
?:
boolean
;
id
:
string
;
label
:
string
;
onSelect
?:
(
value
:
string
)
=>
void
;
onToggle
?:
(
checked
:
boolean
)
=>
void
;
options
?:
{
label
:
string
;
value
:
string
|
number
}
[]
;
tooltip
?:
string
;
type
:
"checkbox"
|
"select"
;
value
?:
string
|
number
;
}
Index
Properties
checked?
disabled?
id
label
on
Select?
on
Toggle?
options?
tooltip?
type
value?
Properties
Optional
checked
checked
?:
boolean
Optional
disabled
disabled
?:
boolean
id
id
:
string
label
label
:
string
Optional
on
Select
onSelect
?:
(
value
:
string
)
=>
void
Optional
on
Toggle
onToggle
?:
(
checked
:
boolean
)
=>
void
Optional
options
options
?:
{
label
:
string
;
value
:
string
|
number
}
[]
Optional
tooltip
tooltip
?:
string
type
type
:
"checkbox"
|
"select"
Optional
value
value
?:
string
|
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
checked
disabled
id
label
on
Select
on
Toggle
options
tooltip
type
value
frontend
Loading...
A single setting item (checkbox or select) in the settings panel.