File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change 7
7
8
8
9
9
### 安装
10
+
11
+ - 项目使用可以直接 ` bower install angular-paginationjs ` 下载 ,学习的同学可参照下面步骤
10
12
```
11
13
克隆项目到本地
12
14
git clone https://github.com/febobo/angular-pagination.git
@@ -41,20 +43,10 @@ var app = angular.module('demo' , ['pagination']);
41
43
$scope.title = 'pagination-directive';
42
44
43
45
$scope.conf = {
44
-
45
- // 总条数
46
46
total : 1190,
47
-
48
- // 当前页
49
47
currentPage : 1,
50
-
51
- // 一页展示多少条
52
48
itemPageLimit : 1,
53
-
54
- // 是否显示一页选择多少条
55
49
isSelectPage : false,
56
-
57
- // 是否显示快速跳转
58
50
isLinkPage : false
59
51
}
60
52
@@ -66,6 +58,13 @@ var app = angular.module('demo' , ['pagination']);
66
58
})
67
59
68
60
```
61
+ ### 参数说明
62
+ ` total ` : Number list总条数 必填 <br />
63
+ ` currentPage ` : Number 当前页 必填 <br />
64
+ ` itemPageLimit ` : Number 一页展示多少条 选填 默认为10<br />
65
+ ` itemSelectPage ` : 是否显示一页选择多少条下拉框 选填 默认为false展示 <br />
66
+ ` isLinkPage ` : 是否显示快速跳转框 选填 默认为false展示 <br />
67
+
69
68
#### Q&A
70
69
@febobo
71
70
You can’t perform that action at this time.
0 commit comments