Paginator.ui.PreviousPageLink Class
ui Component to generate the link to jump to the previous page.
Constructor
Paginator.ui.PreviousPageLink
(
-
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 and span nodes if appropriate.
Parameters:
-
e
CustomEventThe calling change event
Properties
current
HTMLElement
private
Currently placed HTMLElement node
link
HTMLElement
private
Link node
span
HTMLElement
private
Span node (inactive link)