1.0.5 • Published 9 years ago
vue-switches-vms v1.0.5
Vue Switches VMS
Original drewjbartlett
npm install vue-switches-vms --saveBasic 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.