Torch.PaginationView.next_link

You're seeing just the function next_link, go back to Torch.PaginationView module for more information.
Link to this function

next_link(conn, current_page, num_pages, sort_opts \\ nil)

View Source

Generates a "Next >" link to the next page of results. The link is only returned if there is another page.

Examples

iex> next_link(%Plug.Conn{params: %{}}, 1, 2) |> safe_to_string()
"<a href=\"?page=2\">Next &gt;</a>"

iex> next_link(%Plug.Conn{}, 2, 2)
nil