co-checkbox-group
Ver código
<co-checkbox-group label="Ejemplo"></co-checkbox-group> Props
| Prop | Atributo | Tipo | Default | Descripción |
|---|---|---|---|---|
direction | direction | "column" | "row" | 'column' | Layout direction |
disabled | disabled | boolean | false | Disable all options |
helperText | helper-text | string | undefined | — | Helper text displayed below the options |
label | label | string | undefined | — | Group label displayed above the options |
options | options | CheckboxOption[] | string | [] | Checkbox options — accepts JSON string or array. Each item: { label, value, disabled? } or plain string |
secondaryLabel | secondary-label | string | undefined | — | Secondary label displayed on the right side |
size | size | "large" | "small" | 'small' | Size of checkbox boxes |
status | status | "default" | "error" | "info" | "success" | "warning" | 'default' | Validation status |
value | value | string | string[] | '[]' | Currently selected values (JSON string or string array) |
Eventos
| Evento | Detail | Bubbles | Cancelable | Descripción |
|---|---|---|---|---|
coChange | string[] | ✓ | ✓ | Fired when selection changes |
Slots
Este componente no expone slots.
CSS Parts
Este componente no expone CSS parts.
CSS Custom Properties
Este componente no expone CSS custom properties.