API

If this is the first time you visit this documentation it is recommended that you start here.

Pager.js contains a lot of functionality and extension-points. They can be divided into 3 parts: pager-object, page: {}-configuration, and pager.Page-class.

There are a number of breaking changes in 1.0rc1

  • navigationFailed is now called onNoMatch and is a $.Callbacks().
  • startHashChange is removed. start should be used instead.
  • All events/callbacks get a data-object {page:}.
  • Removed page-href5 and page-hash. Only use page-href.