Ver código
<co-tab label="Ejemplo"></co-tab>
Props
| Prop | Atributo | Tipo | Default | Descripción |
|---|
disabled | disabled | boolean | false | Disabled state |
iconLeft | icon-left | string | undefined | — | Left icon (Phosphor name) |
iconRight | icon-right | string | undefined | — | Right icon (Phosphor name) |
label | label | string | '' | Tab label |
selected | selected | boolean | false | Whether this tab is active/selected |
size | size | "large" | "small" | 'small' | Size |
value | value | string | '' | Tab value (used for selection) |
Eventos
| Evento | Detail | Bubbles | Cancelable | Descripción |
|---|
coTabSelect | string | ✓ | ✓ | Emitted when tab is clicked |
Slots
Este componente no expone slots.
CSS Parts
| Part | Descripción |
|---|
::part(tab) | |
CSS Custom Properties
Este componente no expone CSS custom properties.