vue-switches-vms

1.0.5 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i vue-switches-vms

Weekly Downloads

0

Version

1.0.5

License

MIT

Last publish

Collaborators

  • marsovski