Paginator.Url Class
Adds in URL options for paginator links.
Methods
formatPageUrl
(
String | null
-
[page]
Returns a formated URL for the provided page number.
Parameters:
-
[page]
Number optionalPage value to be used in the formatted URL. If empty, page will be the value of the
page
ATTRS.
Returns:
String | null:
Formatted URL for the page or null
if there is not a pageUrl
set.
nextPageUrl
()
String | null
Returns a formated URL for the next page.
Returns:
String | null:
Formatted URL for the next page or null
if there is no next page.
prevPageUrl
()
String | null
Returns a formated URL for the previous page.
Returns:
String | null:
Formatted URL for the previous page, or null
if there is no previous page.