mdcSwitch directive creates a material designed switch.
Directive for the native input element of an
Directive for the mandatory thumb element of an
mdcSwitch for more
Directive for creating a Material Design switch component. The switch is driven by an
underlying native checkbox input, which must use the
mdcSwitchInput directive. The
mdcSwitchInput must be wrapped by an
mdcSwitchThumb, which must be a direct child of this
The current implementation will add all other required DOM elements (such as the switch-track). Future implementations will also support supplying (customized) elements for those.
This directive can be used together with an
easily position switches and their labels, see