Switch

Um interruptor liga/desliga que funciona como controle de formulário, em dois tamanhos.

Disponível em
  • Angular: disponível
  • Vue: disponível
  • React: disponível
  • React Native: disponível

Uso

On — show text while people speak.

Small size, for dense settings lists.

Managed by your administrator.

Importação

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

Referência da API

SoneSwitchComponentComponente

Seletor
sone-switch
Inputs
NomeTipo Padrão
ariaLabelstring | nullnull
sizeSwitchSize"default"
inputIdstring | nullnull
invalidbooleanfalse
checkedbooleanfalse
disabledbooleanfalse
Outputs
NomeTipo
checkedChangeboolean