ColorComponent class
Color picker component. Values are by default 6-digit hash-prefixed hex strings like #000000.
Signature:
export class ColorComponent extends ValueComponent<string> Extends: ValueComponent<string>
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
(constructor)(containerEl) | Constructs a new instance of the ColorComponent class |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
disabled | boolean | (Inherited from BaseComponent) |
Methods
| Method | Modifiers | Description |
|---|---|---|
getValue() | ||
getValueHsl() | ||
getValueRgb() | ||
onChange(callback) | ||
registerOptionListener(listeners, key) | (Inherited from ValueComponent) | |
setDisabled(disabled) | ||
setValue(value) | ||
setValueHsl(hsl) | ||
setValueRgb(rgb) | ||
then(cb) | Facilitates chaining (Inherited from BaseComponent) |