0.1.1 • Published 8 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
8 years ago
0.1.0
8 years ago
0.0.19
8 years ago
0.0.18
8 years ago
0.0.17
8 years ago
0.0.16
8 years ago
0.0.15
8 years ago
0.0.14
8 years ago
0.0.13
8 years ago
0.0.12
8 years ago
0.0.11
8 years ago
0.0.10
8 years ago
0.0.9
8 years ago
0.0.8
8 years ago
0.0.7
8 years ago
0.0.6
8 years ago
0.0.5
8 years ago
0.0.4
8 years ago
0.0.3
8 years ago
0.0.2
8 years ago
0.0.1
8 years ago