Flop.Phoenix.pagination

You're seeing just the function pagination, go back to Flop.Phoenix module for more information.
Link to this function

pagination(meta, route_helper, route_helper_args, opts \\ [])

View Source

Specs

pagination(Flop.Meta.t(), function(), [any()], keyword()) :: Phoenix.HTML.safe()

Renders a pagination component.

  • meta: The meta information of the query as returned by the Flop query functions.
  • route_helper: The route helper function that builds a path to the current page, e.g. &Routes.pet_path/3.
  • route_helper_args: The arguments to be passed to the route helper function, e.g. [@conn, :index]. The page number and page size will be added as query parameters.
  • opts: Options to customize the pagination. See section Customization.