Switch is used for switching between two opposing states.
Basic usage
Bind v-model to a Boolean typed variable. The --el-switch-on-color and
--el-switch-off-color CSS variables decides the background color in two states.
Sizes
You can set size.
{{ size }}
Text description
You can add active-text and inactive-text attribute to show texts. use
inline-prompt attribute to control text is displayed inside dot. You can add active-text and inactive-text attribute to show texts.
Extended value types
You can set active-value and inactive-value attributes. They both receive a Boolean, String or Number typed
value.