A switch component for Vue 2 based on dai-siki's switch.
npm install vue-switch-elsewaresA switch component for Vue 2 based on dai-siki's work.
vue.js + webpack + es6 + scss
#### npm
``shell`
$ npm install vue-switch-elsewares
#### Attributes
| 名称 | 类型 | 默认 | 说明 |
| ----------------- | ----------------- | ---------------- | --------------------------------------------- |
| value | twoWay | | 要绑定的变量 |
| open-value | | true | 激活时绑定值 |
| close-value | | false | 关闭时绑定值 |
| open-name | String | "是" | 激活时显示文字 |
| close-name | String | "否" | 关闭时显示文字 |
| size | String | "md" | sm lg |
| color | String | "red" | red/blue/orange/green |
| disabled | Bollean | false | as u know |
#### Example (vue@2.0+)
`html
``