Switch

Un interruttore on/off che funziona come controllo di modulo, in due dimensioni.

Disponibile in
  • Angular: disponibile
  • Vue: disponibile
  • React: disponibile
  • React Native: disponibile

Utilizzo

On — show text while people speak.

Small size, for dense settings lists.

Managed by your administrator.

Importazione

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

Riferimento API

SoneSwitchComponentComponente

Selettore
sone-switch
Input
NomeTipo Predefinito
ariaLabelstring | nullnull
sizeSwitchSize"default"
inputIdstring | nullnull
invalidbooleanfalse
checkedbooleanfalse
disabledbooleanfalse
Output
NomeTipo
checkedChangeboolean