ECheckbox
The ECheckbox
component replaces the standard html input type checkbox and encapsulates well-defined logic that can be reused throughout the app.
Basic Usage
template
<script setup>
import { ref } from "vue";
import { ECheckbox } from "easy-kit-component";
const check = ref();
</script>
<template>
<ECheckbox v-model="check"/>
</template>
Check : false
API Reference
- Props
ts
interface Checkbox {
disabled?: boolean;
}