Pagination Widget JS


The SearchStax Site Search solution’s Pagination Widget displays a pagination control for UX-JS.

Usage

searchstax.addPaginationWidget("searchstax-pagination-container", {});

Multiple Instances

Multiple instances of the Pagination widget can be added by calling the addPaginationWidget method multiple times with different target containers:

searchstax.addPaginationWidget('container1', options1);

searchstax.addPaginationWidget('container2', options2);

Each instance can be configured separately via its options object. This allows for the widget to be added to different locations on the page as needed.

Example

See the full example at searchstax-ux-js.

Questions?

Do not hesitate to contact the SearchStax Support Desk.