0.0.1 • Published 6 years ago

ac-pagination v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

app-pagination

API

参数说明类型默认值
dataNumSelect下拉的选择Array{ id: 0, name: '5条/页' },{ id: 1, name: '10条/页' },{ id: 2, name: '15条/页' },{ id: 3, name: '20条/页' }
dataNum下拉默认选中的哪项与dataNumSelect的id保持一致,默认是1number1
onDataNumSelect下拉选择之后的回掉函数Function

开发调试

$ npm install -g ac-tools
$ git clone git@github.com:tinper-acs/ac-pagination.git
$ cd ac-pagination
$ npm install
$ npm run dev