Switch

Przełącznik wł./wył. działający jako kontrolka formularza, w dwóch rozmiarach.

Dostępny w
  • Angular: dostępny
  • Vue: dostępny
  • React: dostępny
  • React Native: dostępny

Użycie

On — show text while people speak.

Small size, for dense settings lists.

Managed by your administrator.

Import

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

Dokumentacja API

SoneSwitchComponentKomponent

Selektor
sone-switch
Wejścia
NazwaTyp Domyślnie
ariaLabelstring | nullnull
sizeSwitchSize"default"
inputIdstring | nullnull
invalidbooleanfalse
checkedbooleanfalse
disabledbooleanfalse
Wyjścia
NazwaTyp
checkedChangeboolean