## vue-selectl ## Demo [Demo](https://luolinyuan.github.io/vue-selectl/) ``` vue-selectl base on Vue 2 ``` ## Install ``` npm install vue-selectl --save ``` ## How to use ### Attributes | parameter | explain | type | optional | default | | ------------ | ------------------ | ------ | ----------------- | ---------- | | customdatas | custom data | array | - | [] | | initcurlists | init data | array | - | [] | | limit | choose up to a few | number | - | 0 | ### Events | even name | explain | callback | | --------- | ------------------- | -------- | | checkitem | listen to selection | array | | updateinit | listen to change initcurlists | array ### Methods | method name | explain | optional | | --------- | ------------------- | -------- | | reset | do reset | array[id] | 1. use script ```html test
``` 2. webpack ```javascript import VueSelectl from 'vue-selectl' import 'vue-selectl/dist/styles.css' Vue.use(VueSelectl) ```