1.0.8 • Published 9 years ago

vue-checkbox-toggle v1.0.8

Weekly downloads
35
License
MIT
Repository
github
Last release
9 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

9 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago