Paginator.ui.CurrentPageInput Class
Generates an input field for setting the current page.
Constructor
Paginator.ui.CurrentPageInput
(
-
p
Parameters:
-
p
PagintorPaginator instance to attach to
Methods
destroy
()
private
Removes the span node and clears event listeners.
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