1.0.2 • Published 2 years ago
select-loading v1.0.2
select-loading
select-loading
project discretion
Base in element-ui.Please install element-ui before install this component.
Sometime need select lazy loading.Install
npm install select-loading -Sproject use
(advise use in main.js)
import selectLoading from 'select-loading'
Vue.use(selectLoading)
or
you can use this component by script labelparams discretion
| param | discretion | type | defult |
|---|---|---|---|
| optionLabel | option label name | 'label' | |
| optionValue | option bind value name | 'value' | |
| size | select size | ||
| placeholder | defult tip | String | '请选择' |
| listData | all list data | Array | |
| loading | when loading data show this circle | Boolean | false |
| pageNum | Current page number | Number | 1 |
| pageSize | Current number of pages | Number | 10 |
| total | all list data length | Number | 0 |
event discretion
| name | function |
|---|---|
| loadMore | loading next page data event |
result
