ColorSelect API Overview
Initialization
<script>
import { ColorSelect } from "wx-svelte-core";
</script>
<!-- minimal configuration for initialization -->
<ColorSelect />
tip
- Visit the Features Guide to learn more about the control's functionality.
- Explore the samples to visualize the available features.
ColorSelect Properties
clear | adds/removes the cross icon for clearing the value of a color select |
colors | specifies a set of color values |
disabled | defines whether a color select is disabled |
error | defines whether error styling is applied to a color select |
id | sets an HTML id for a color select |
placeholder | sets a text for the input's placeholder |
title | sets a tooltip text with additional info about the control |
value | sets the value of a color select |