charton API / @chart-on/ui / index / ColorControl
Interface: ColorControl
Defined in: ui/src/color-control.ts:64
A color control made by createColorControl: its element, plus setValue and destroy.
Properties
el
el:
HTMLElement
Defined in: ui/src/color-control.ts:65
Methods
destroy()
destroy():
void
Defined in: ui/src/color-control.ts:68
Returns
void
setValue()
setValue(
color):void
Defined in: ui/src/color-control.ts:67
Show a new value without calling onInput, e.g. after an API change.
Parameters
color
string
Returns
void