1.0.8 • Published 7 years ago

vue-checkbox-toggle v1.0.8

Weekly downloads
35
License
MIT
Repository
github
Last release
7 years ago

vue-checkbox-toggle

A simple VueJS checkbox replacment thing.

Installation

First, install it with NPM

npm install vue-checkbox-toggle

Then, import it where needed

import vueCheckboxToggle from 'vue-checkbox-toggle';

...
components: {
    vueCheckboxToggle,
}
...

Finally, use it like

<vue-checkbox-toggle
    v-model="val"
    show-labels
    label-checked="on"
    label-unchecked="off"
></vue-checkbox-toggle>

Props

PropDescription
show-labelsWether or not to show the label
label-checkedThe label to show when the checkbox is checked
label-uncheckedThe label to show when the checkbox is unchecked
disabledDisables the control
1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago