Links

Color picker

A field to select a color. The color picker supports HEX and RGB color formats, as well as allows alpha channel. The color picker represents a swatch to pick up and edit color values.

Methods

Method
Description
setValue(value: string)
sets data for the component
setDisabled(disabled: boolean)
enables or disables the component
reset()
resets the component to the initial value
validate()
triggers component's validation
resetValidation()
resets the validation
focus()
sets focus on the component
setRequired (required: boolean)
sets component's required state

Triggers

Triggers allow you to launch certain actions upon different events.
On Init
Calls for an action on component initialization, e.g., page refresh
On Change
Calls for an action on the component's state change
On Enter
Calls for an action on Enter click
On Focus
Calls for an action on component's focus
On Blur
Calls for an action on component's blur
Last modified 21d ago