Color Palette #
Palette component for color pick.
Examples #
Basic usage #
By default use this component with v-model
and palette array.
Indicator #
You can apply different styles to the indicator: dot
and square
are available.
API #
Props #
Name | Description | Types | Default |
---|---|---|---|
ariaIndicatorLabel | The aria-label of the indicator |
|
|
ariaLabel | The aria-label of the component |
|
|
indicator | Sets the indicator style. |
|
|
modelValue | The value of the |
|
|
palette | An array of colors |
|
|
preset | Named preset combination of component props. |
| - |
stateful | Add possibility to work with component without setting |
|
|
Events #
Name | Description |
---|---|
update:modelValue | The event is triggered when the component needs to change the model. Is also used by |