Checkbox
Default
checked: true, lastChange: —
Props
| Prop | Type | Default | Notes |
|---|---|---|---|
| checked | boolean | — | Bindable checked state. |
| label | string | — | Visible label; also the accessible name. |
| ariaLabel | string | — | Accessible name when no visible label. |
| name | string | — | Native input name. |
| disabled | boolean | false | Disables the input. |
| indeterminate | boolean | false | Mixed state glyph. |
| stopPropagation | boolean | true | Stops the click bubbling to clickable rows. |
| size | 'sm' | 'md' | 'md' | Box and label size. |
| labelClass | string | — | Extra classes for the label text. |
| wrapperClass | string | '' | Extra classes for the wrapping label. |
| boxClass | string | '' | Extra classes for the box span. |
| inputRef | HTMLInputElement | null | null | Bindable native input element. |
| onChange | (checked: boolean) => void | — | Called with the next checked value. |