Switch

Un interruptor de encendido/apagado que funciona como control de formulario, en dos tamaños.

Disponible en
  • Angular: disponible
  • Vue: disponible
  • React: disponible
  • React Native: disponible

Uso

On — show text while people speak.

Small size, for dense settings lists.

Managed by your administrator.

Importación

ts
import {
  SoneSwitchComponent,
} from "@surface-one/angular/switch";

Referencia de la API

SoneSwitchComponentComponente

Selector
sone-switch
Inputs
NombreTipo Predeterminado
ariaLabelstring | nullnull
sizeSwitchSize"default"
inputIdstring | nullnull
invalidbooleanfalse
checkedbooleanfalse
disabledbooleanfalse
Outputs
NombreTipo
checkedChangeboolean