<cla-checkbox>
Checkbox component.
Usage
Properties
Property | Required | Description | Type | Default |
---|---|---|---|---|
block | false | Whether to use the block style variant of the checkbox. | boolean | null |
checked | false | Is it Checked ? | boolean | false |
disabled | false | Whether the checkbox is disabled. | boolean | false |
inverted | false | Whether to use the inverted variant of the checkbox. | boolean | null |
large | false | Whether to use the large variant of the checkbox. | boolean | null |
name | false | The checkbox ID & name | string | null |
value | false | The checkbox value | 0 | null |
Slots
Slot | Description |
---|---|
any | Allows label content |
Events
Event | Description | Type |
---|---|---|
selected | Emitted when the checkbox is selected. |
|
unselected | Emitted when the checkbox is unselected. |
|