co-radio-group
Ver código
<co-radio-group label="Ejemplo"></co-radio-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 |
name | name | string | undefined | — | Name attribute for the group |
options | options | RadioOption[] | string | [] | Radio options — accepts JSON string or array. Each item: { label: string, value: string, disabled?: boolean } Or plain strings: ["Option A", "Option B"] |
secondaryLabel | secondary-label | string | undefined | — | Secondary label displayed on the right side |
size | size | "large" | "small" | 'small' | Size of radio circles |
status | status | "default" | "error" | "info" | "success" | "warning" | 'default' | Validation status |
value | value | string | undefined | — | Currently selected value |
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.