Module: Pagination

Component to handle the advanced search filters for the searchFairsharingRecords query.

Props

Name Type Default value Required? Description
totalPages Number 0 No the total number of pages to display

Data

Name Type Default value Description
currentQuery Number null the current page number

Methods


disableThrottle(disable)

Set the environment ready for testing or development

Parameters:
Name Type Description
disable Boolean

should disable or not the throttle for the next call

Source:

paginate(pageNumber)

Set the current query page parameter value to the given input for vueJs router

Parameters:
Name Type Description
pageNumber Number

the page to go to

Source: