generic-paginate
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -38,5 +38,6 @@ var Paginator = function( options ){ | ||
out.prev = pageNumber > 1 ? pageNumber - 1 : null; | ||
out.page = pageNumber; | ||
out.currentPage = pageNumber; | ||
out.range = range; | ||
out.total = pageCount; | ||
out.totalPages = pageCount; | ||
out.totalItems = count; | ||
out.size = resultsPerPage; | ||
@@ -43,0 +44,0 @@ out.start = ( (pageNumber-1)*resultsPerPage ) + 1 ; |
{ | ||
"name": "generic-paginate", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "A simple class that calculates pagination params that is easly usable in a View", | ||
@@ -5,0 +5,0 @@ "main": "lib/paginate.js", |
@@ -46,5 +46,6 @@ Generic-paginate | ||
* prev: 5, | ||
* page: 6, | ||
* currentPage: 6, | ||
* range: { '3': '', '4': '', '5': '', '6': 'active', '7': '' }, | ||
* total: 7, | ||
* totalPages: 7, | ||
* totalItems: 13 | ||
* size: 2, | ||
@@ -51,0 +52,0 @@ * start: 11 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5110
46
107