Switch

Un interrupteur marche/arrêt utilisable comme contrôle de formulaire, en deux tailles.

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

Utilisation

On — show text while people speak.

Small size, for dense settings lists.

Managed by your administrator.

Importation

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

Référence de l’API

SoneSwitchComponentComposant

Sélecteur
sone-switch
Inputs
NomType Par défaut
ariaLabelstring | nullnull
sizeSwitchSize"default"
inputIdstring | nullnull
invalidbooleanfalse
checkedbooleanfalse
disabledbooleanfalse
Outputs
NomType
checkedChangeboolean