Package Exports
- sr-pagination
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sr-pagination) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
sr-pagination
Simple pagination generator.
The sr prefix stands for simpler, which is comparative of sim·ple (Adjective)
- Easily understood or done; presenting no difficulty.
- Plain, basic, or uncomplicated in form, nature, or design; without much decoration or ornamentation.
##Install
##Usage Note that you can use this module with commonjs (nodejs), amdjs or as a global object in the browser.
var result = pagination({page:1, links: 5, rows: 5, total: 50});##Options
- page: current page
- links: visible page links
- rows: rows per page
- total: total number of all items
##Tests Make sure you check out the test page.