one having or covering a specified number or kind of pages - Merriam-Webster
See the demo.
This makes it easier to design very large scale single page web sites.
This readme is for version 1.1.0
See the demo.
npm install pagerjs
pager.js is not depending on any CSS framework!
For developing pager.js you'll also need
Developing a huge single page application should be like developing multiple small pages. That is the only way you'll be able to scale up and out the development. In order to ease development in the large pager.js got
These MVVM-triads can be developed in isolation and later on connected.
pager.js is not depending on anything but jQuery and KnockoutJS. You can use it together with any CSS framework.
Yes. PagerJS supports true URLs with History.js.
Fork this repo. Install all dependencies (node.js, grunt, phnatomjs). Run all tests
grunt qunit). Run jslint (
grunt lint). Make your changes. Run all tests and the linter again. Send a pull request.
pager.js is under MIT license.
Copyright (c) 2013 Oscar Finnsson
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.