Paginator.ui.LastPageLink Class
ui Component to generate the link to jump to the last page.
Constructor
Paginator.ui.LastPageLink
(
-
p
Parameters:
-
p
PagintorPaginator instance to attach to
Item Index
Attributes
Methods
destroy
()
private
Removes the link/span node and clears event listeners
onClick
(
-
e
Listener for the link's onclick event. Passes to setPage method.
Parameters:
-
e
DOMEventThe click event
render
(
HTMLElement
-
id_base
Generate the nodes and return the appropriate node given the current pagination state.
Parameters:
-
id_base
Stringused to create unique ids for generated nodes
Returns:
HTMLElement:
update
(
-
e
Swap the link, span, and na nodes if appropriate.
Parameters:
-
e
CustomEventThe calling change event (ignored)
Properties
current
HTMLElement
private
Currently placed HTMLElement node
link
HTMLElement
private
Link HTMLElement node
na
HTMLElement
private
Empty place holder node for when the last page link is inappropriate to display in any form (unlimited paging).
span
HTMLElement
private
Span node (inactive link)