Sentre
Search…
Switch
Switching selector.

Usage

  • If you need to represent the switching between two states or on-off state.
  • The difference between Switch and Checkbox is that Switch will trigger a state change directly when you toggle it, while Checkbox is generally used for state marking, which should work in conjunction with submit operation.

States

Specs

Sample code

1
// Some code
Copied!
Last modified 5mo ago