Torch.PaginationView.next_link
You're seeing just the function
next_link
, go back to Torch.PaginationView module for more information.
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 ></a>"
iex> next_link(%Plug.Conn{}, 2, 2)
nil