Checkbox API Overview
Initialization
<script setup>
import { Checkbox } from "@svar-ui/vue-core";
</script>
<template>
<!-- minimal configuration for initialization -->
<Checkbox />
</template>
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 id for inner HTML input |
| 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 |