Meteor Pagination

screenshot of Meteor Pagination

Paginate cursors with this magical package of wonder.

Overview

Meteor Pagination is a powerful tool that simplifies the task of adding pagination to your Meteor applications. By efficiently managing cursor results and creating intuitive page links, it enhances user experience by ensuring that only the relevant data is displayed at any given time. Whether you're displaying a long list of items or content-heavy pages, this tool can help you structure your data in an organized way.

With just a few simple commands, you can integrate pagination seamlessly into your existing apps. From adjusting the result display per page to styling the pagination links, Meteor Pagination provides flexibility while maintaining a straightforward implementation process.

Features

  • Dynamic Cursor Management: Automatically adjusts cursor results based on the current page, ensuring users see only the relevant items.
  • Simple Page Link Generation: Utilizes Pagination.links() for easy integration of navigation links at the bottom of each page.
  • Customizable Options: Set the current page and results per page using options such as currentPage and perPage to tailor the pagination to your needs.
  • Two Built-in Styles: Choose between the default 'one-of-x' style or a Bootstrap-friendly option for visually appealing pagination integration.
  • Intelligent Navigation: Automatically determines when to hide Previous and Next buttons based on the user's current page.
  • Flexible API Access: Provides useful API methods like collectionCursor for retrieving results and totalPages for calculating navigation correctly.
  • Compatibility: Works effectively with various routing solutions, allowing for easy integration and tracking of the current page state.