0.1.1 • Published 6 years ago
optimat-vue-page-selector v0.1.1
基于Vuejs+Webpack定义了开发规范的网页开发框架的分页选择器
使用方式(Usage)
安装(Install)
npm install optimat-vue-page-selector -save
导入(Import)
*.js
import DatePicker from 'optimat-vue-page-selector'
*.vue
<script>
import DatePicker from 'optimat-vue-page-selector'
</script>
标签(Target)
*vue
<PageSelector :options="pageSelectorOptions"></PageSelector>
功能(Api)
Options | Type | Description | Default | Result |
---|---|---|---|---|
options.total | number | 最大页码(-1即无限大) | -1 | |
options.current | number | 当前页码 | 1 | |
options.step | number | 上页/下页步长 | 1 | |
options.previewCount | number | 预览页码数 | 0 | |
options.style | string | 选项样式,普通(simple),圆形(circle),方形(box) | simple | |
options.isShowPageInput | boolean | 是否显示跳转输入框 | false | |
options.onPageChanged | function | 当前页码变更时执行 | undefined | (currentPage) |
0.1.1
6 years ago
0.1.0
6 years ago
0.0.19
6 years ago
0.0.18
6 years ago
0.0.17
6 years ago
0.0.16
6 years ago
0.0.15
6 years ago
0.0.14
6 years ago
0.0.13
6 years ago
0.0.12
6 years ago
0.0.11
6 years ago
0.0.10
6 years ago
0.0.9
6 years ago
0.0.8
6 years ago
0.0.7
6 years ago
0.0.6
6 years ago
0.0.5
6 years ago
0.0.4
6 years ago
0.0.3
6 years ago
0.0.2
6 years ago
0.0.1
6 years ago