sb-datalist
v3.0.23
Published
Social Blue datalist
Downloads
3
Readme
Data-list
Installation
npm install "git+ssh://[email protected]:socialblue/vue-components/form-elements/sb-datalist.git" npm install
setup
import Vue from 'vue';
import Axios from 'axios';
import SbDatalist from "sb-datalist.vue";
window.Vue = Vue;
window.Axios = Axios;
window.EventBus = new Vue({});
Vue.component('sb-datalist', SbDatalist);
window.App = new Vue({
el: '#app',
data() {
return {
selected: []
}
}
});
<div id="app">
<sb-datalist v-model="selected"
data-url="api/list"
data-z-index="2"
placeholder="please fill in something"
multiple />
</div>