Ir al contenido

co-toggle-button

Ver código
<co-toggle-button label="Ejemplo"></co-toggle-button>

Props

PropAtributoTipoDefaultDescripción
disableddisabledbooleanfalse
iconLefticon-leftstring | undefined
iconRighticon-rightstring | undefined
labellabelstring | undefined
selectedselectedbooleanfalse
sizesize"l" | "m" | "s" | "xs"'m'
valuevaluestring''

Eventos

EventoDetailBubblesCancelableDescripción
coToggle{ value: string; selected: boolean; }

Slots

Este componente no expone slots.

CSS Parts

Este componente no expone CSS parts.

CSS Custom Properties

Este componente no expone CSS custom properties.