Manages the displaying of pagination controls. Interactions follow the Google model.
Methods
-
calcVisibleNums (curPage, totalPages)
-
Initialization code run every time the component is created, used to setup variables.
Parameters:
Name Type Description curPage Currently selected page
totalPages Total number of viable pages to access
-
onChanges
-
Hook triggered whenever changes are made to any values passed into this component.
-
onInit
-
Initialization code run every time the component is created, used to setup variables.