Checkbox

<NNCheckbox :modelValue="false"> Something to be checked </NNCheckbox>
<NNCheckbox :modelValue="null"> Indeterminate </NNCheckbox>
<NNCheckbox :modelValue="true" disabled> Disabled </NNCheckbox>

Props

Name
Type
modelValue
boolean | null
The checkbox is on if `modelValue` is `true`, off if `modelValue` is `false` and indeterminate if `modelValue` is `null` or `undefined`
disabled
boolean

Events

Name
Payload
update:modelValue
boolean
Fired after the checkbox has been toggled
© 2024  inniti