Checkbox API Overview
Initialization
<script>
import { Checkbox } from "@svar-ui/svelte-core";
</script>
<!-- minimal configuration for initialization -->
<Checkbox />
tip
- Visit the Features Guide to learn more about the control's functionality.
- Explore the samples to visualize the available features.
Checkbox Properties
disabled | Optional. Defines whether a checkbox is disabled |
id | Optional. Sets an HTML id for a checkbox |
inputValue | Optional. Specifies the value of checked control |
label | Optional. Specifies the label of a checkbox |
style | Optional. Adds a CSS inline style for a checkbox |
value | Optional. Defines whether a checkbox is checked |
Checkbox Events
change | Fires when the state of a checkbox is changed |