Trevixal API
Preparing search index...
@trevixal/ui
ColorControlOptions
Interface ColorControlOptions
interface
ColorControlOptions
{
ariaLabel
:
string
;
document
:
Document
;
icon
:
"textColor"
|
"backgroundColor"
;
onClear
:
()
=>
void
;
onSelect
:
(
color
:
string
)
=>
void
;
swatches
?:
readonly
string
[]
;
valueOf
:
(
snapshot
:
EditorSnapshot
)
=>
string
|
null
;
}
Index
Properties
aria
Label
document
icon
on
Clear
on
Select
swatches?
value
Of
Properties
Readonly
aria
Label
ariaLabel
:
string
Readonly
document
document
:
Document
Readonly
icon
icon
:
"textColor"
|
"backgroundColor"
Readonly
on
Clear
onClear
:
()
=>
void
Readonly
on
Select
onSelect
:
(
color
:
string
)
=>
void
Optional
Readonly
swatches
swatches
?:
readonly
string
[]
Readonly
value
Of
valueOf
:
(
snapshot
:
EditorSnapshot
)
=>
string
|
null
Current color, drawn as the underline beneath the icon.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
aria
Label
document
icon
on
Clear
on
Select
swatches
value
Of
Trevixal API
Loading...
Current color, drawn as the underline beneath the icon.