Adds in URL options for paginator links.
formatPageUrl
[page]
Defined in
paginator/js/paginator-url.js:43
Returns a formated URL for the provided page number.
[page]
Number
optional
Page value to be used in the formatted URL. If empty, page will be the value of the page
ATTRS.
Formatted URL for the page or null
if there is not a pageUrl
set.
nextPageUrl
Defined in
paginator/js/paginator-url.js:34
Returns a formated URL for the next page.
Formatted URL for the next page or null
if there is no next page.
prevPageUrl
Defined in
paginator/js/paginator-url.js:25
Returns a formated URL for the previous page.
Formatted URL for the previous page, or null
if there is no previous page.
pageUrl
Defined in
paginator/js/paginator-url.js:13
URL to return formatted with the page number. URL uses Y.Lang.sub
for page number stubstitutions.
For example, if the page number is 3
, setting the pageUrl
to "?pg={page}"
, will result in ?pg=3
pageUrlChange
Fires when the value for the configuration attribute pageUrl
is
changed. You can listen for the event using the on
method if you
wish to be notified before the attribute's value has changed, or
using the after
method if you wish to be notified after the
attribute's value has changed.
e
EventFacade