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, path_helper, path_helper_args, opts \\ [])

View Source

Specs

Generates a pagination element.

  • meta: The meta information of the query as returned by the Flop query functions.
  • path_helper: The path helper function that builds a path to the current page, e.g. &Routes.pet_path/3.
  • path_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.

See the module documentation for examples.