vue-toggle-switches
v1.0.2
Published
A toggle switch component for Vue.js with theme support.
Downloads
7
Readme
Vue Toggle Switches
A Vue.js component for simple switches with theme support for bulma, bootstrap and custom themes.
This is originally a fork from vue-switches, which is no longer maintained.
In this fork, We've added webpack to build the component. This allows us to offer better compatibility across different environments, optimized code performance, and more granular control over the build process.
Installation
npm install vue-toggle-switches --save
Basic Usage
import Switches from 'vue-toggle-switches';
new Vue({
components: {
Switches
},
data () {
return {
enabled: false
}
}
};
<switches v-model="enabled"></switches>
Props
Acknowledgements
A huge shoutout to the original vue-switches project. We've forked it and made some changes to suit our needs.
License
MIT
We hope the Vue community finds vue-toggle-switches beneficial. Your feedback and contributions are always welcome!
A project by Klarity.