A vue component with two way binding via v-model a boolean value toggle true/false
npm install toggle-switch-button-vue


|props | type | default | description |
| ------------ | ------------ | ------------ | ------------ |
| v-model | Boolean | false | two way binding that toggle value true/false |
|label|string| | pipe separated value "ON|OFF"|
|className|string|"toggle-switch-button"|custom css class name to change the UI layout|
npm install toggle-switch-button-vue
template sectioln
script section
import ToggleSwitchButton from "toggle-switch-button-vue";
components section
components: {
ToggleSwitchButton
},
data section
data() {
return {
isActive: true
};
},
methods section
methods: {
}