File tree Expand file tree Collapse file tree 9 files changed +380
-522
lines changed Expand file tree Collapse file tree 9 files changed +380
-522
lines changed Original file line number Diff line number Diff line change 1+ root = true
2+
3+ [* ]
4+ indent_style = space
5+ indent_size = 4
6+ end_of_line = lf
7+ charset = utf-8
8+ trim_trailing_whitespace = false
9+ insert_final_newline = false
Original file line number Diff line number Diff line change @@ -7,21 +7,21 @@ var app = new Vue({
77 el : "#app" ,
88 data : {
99 totalItems : 64 ,
10- pagination1 : { currentPage : 4 } ,
11- pagination2 : { currentPage : 1 } ,
12-
13- setPage : function ( pageNo ) {
10+ pagination1 : {
11+ currentPage : 4
12+ } ,
13+ pagination2 : {
14+ currentPage : 1
15+ } ,
16+ setPage : function ( pageNo ) {
1417 this . pagination1 . currentPage = pageNo ;
1518 } ,
16-
1719 pageLabelHtml : function ( pageNo ) {
18- return ` <b>${ pageNo } </b>` ;
20+ return " <b>" + pageNo + " </b>" ;
1921 } ,
20-
21- pageChanged : function ( ) {
22+ pageChanged : function ( ) {
2223 console . log ( 'Page changed to: ' + this . pagination1 . currentPage ) ;
2324 } ,
24-
2525 maxSize : 5 ,
2626 bigTotalItems : 175
2727 }
Original file line number Diff line number Diff line change @@ -7,21 +7,21 @@ var app = new Vue({
77 el : "#app" ,
88 data : {
99 totalItems : 64 ,
10- pagination1 : { currentPage : 4 } ,
11- pagination2 : { currentPage : 1 } ,
12-
10+ pagination1 : {
11+ currentPage : 4
12+ } ,
13+ pagination2 : {
14+ currentPage : 1
15+ } ,
1316 setPage : function ( pageNo ) {
1417 this . pagination1 . currentPage = pageNo ;
1518 } ,
16-
1719 pageLabelHtml : function ( pageNo ) {
18- return ` <b>${ pageNo } </b>` ;
20+ return " <b>" + pageNo + " </b>" ;
1921 } ,
20-
2122 pageChanged : function ( ) {
2223 console . log ( 'Page changed to: ' + this . pagination1 . currentPage ) ;
2324 } ,
24-
2525 maxSize : 5 ,
2626 bigTotalItems : 175
2727 }
Original file line number Diff line number Diff line change @@ -2,27 +2,21 @@ var app = new Vue({
22 el : "#app" ,
33 data : {
44 totalItems : 64 ,
5-
65 pagination1 : {
76 currentPage : 4
87 } ,
9-
108 pagination2 : {
119 currentPage : 1
1210 } ,
13-
1411 setPage : function ( pageNo ) {
1512 this . pagination1 . currentPage = pageNo ;
1613 } ,
17-
1814 pageLabelHtml : function ( pageNo ) {
19- return ` <b>${ pageNo } </b>` ;
15+ return " <b>" + pageNo + " </b>" ;
2016 } ,
21-
2217 pageChanged : function ( ) {
2318 console . log ( 'Page changed to: ' + this . pagination1 . currentPage ) ;
2419 } ,
25-
2620 maxSize : 5 ,
2721 bigTotalItems : 175
2822 }
You can’t perform that action at this time.
0 commit comments