Flop.Phoenix.pagination
You're seeing just the function
pagination
, go back
to Flop.Phoenix module for more
information.
Specs
pagination(Flop.Meta.t(), function(), [any()], keyword()) :: Phoenix.LiveView.Rendered.t()
Generates a pagination element.
-
meta
: The meta information of the query as returned by theFlop
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.