0.0.6 • Published 3 years ago
v-toggle-switch v0.0.6
Vue 2 toggle switch button component (WIP)
Click here for documentation and examples
Introduction
The v-toggle-switch is highly configurable, compliant with accessibility standards, and minimalistic component!
It works nice with Vue 2.
Installation
Use npm install v-toggle-switch
or yarn add v-toggle-switch
Register component
- locally
import ToggleSwitch from 'v-toggle-switch'
export default {
components: {
ToggleSwitch
}
}
- or globally
import ToggleSwitch from 'v-toggle-switch'
Vue.use(ToggleSwitch)
Usage
<toggle-switch />
Check out the docs for configuration options