Noora.PaginationGroup (noora v0.1.0-alpha.5)

Pagination group component for paginating with a defined set of pages. Do not use this component for cursor-based pagination.

Summary

Functions

pagination_group(assigns)

Attributes

  • current_page (:integer) (required) - The current page number.
  • number_of_pages (:integer) (required) - The number of pages to display.
  • page_patch (:fun) (required) - Get a patch for an individual page where the input is the index.
  • Global attributes are accepted.