Checkbox
Props
Prop | Type | Default/Notes |
---|---|---|
@input | Func() | Handle event emitted from the component, ex: @input={funcName} |
value | Boolean | Default: false |
checked | Boolean | Default: undefined |
disabled | Boolean | Default: false |
Example usage
<template>
<Checkbox v-model="checkboxModel">Close Figma on startup</Checkbox>
</template>
<script>
import { Checkbox } from 'figma-plugin-ds-vue'
export default {
data: () => ({
checkboxModel: // Boolean
}),
components: {
Checkbox
}
}
</script>