Skip to content

Marsovski/vue-switches-vms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Vue Switches

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages