滑块开关 Slide toggle

slide-toggle 的范例
Configurable slide-toggle

Slider configuration

Result

Slide-toggle with forms

Slide Toggle using a simple NgModel.

Slide Toggle inside of a Template-driven form

Slide Toggle inside of a Reactive form

Form Group Status: INVALID

Basic slide-toggles