vue-switches-vms
v1.0.5
Published
Original [drewjbartlett](https://github.com/drewjbartlett/vue-switches)
Downloads
12
Readme
Vue Switches VMS
Original drewjbartlett
npm install vue-switches-vms --save
Basic Usage
import Switches from 'vue-switches-vms';
new Vue({
components: {
Switches
},
data () {
return {
enabled: false
}
}
};
<switches v-model="enabled" :selected="enabled"></switches>
<switches v-model="enabled" :callBack="nameFunction(enabled)" :selected="enabled"></switches>
Props
label
- A static label to always display whether on or off.
text-enabled
- The text that displays when enabled.
text-disabled
- The text that displays when disabled.
theme
- Which theme to use.
color
- Which color to use.
type-bold
- Bigger style.