ColorPicker API Overview
Initialization
<script>
import { ColorPicker } from "@wx/svelte-core";
</script>
<!-- minimal configuration for initialization -->
<ColorPicker />
tip
- Visit the Features Guide to learn more about the control's functionality.
- Explore the samples to visualize the available features.
ColorPicker Properties
disabled | defines whether a color picker is disabled |
error | defines whether error styling is applied to a color picker |
id | sets an HTML id for a color picker |
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 picker |