vue-tiny-select
v0.1.1
Published
``` npm install vue-tiny-select ```
Downloads
13
Maintainers
Readme
vue-tiny-select
installation
npm install vue-tiny-select
usage:
<vue-tiny-select v-model="selected" :options="options" multiple></vue-tiny-select>
.vue file:
import VueTinySelect from "vue-tiny-select";
export default {
name: 'App',
components: {
VueTinySelect
},
data() {
return {
selected: null,
options: [
{
label: 'js',
value: 1
},
{
label: 'php',
value: 2
},
{
label: 'python',
value: 3
},
{
label: 'c++',
value: 4
},
{
label: 'ruby',
value: 5
},
{
label: 'c',
value: 6
},
{
label: 'c#',
value: 7
},
{
label: 'dart',
value: 8
}
],
}
},
}