Must be true
for such pager implementations which destroy previously loaded data only on full reload and keep data on next chunk loading.
Number of record in remote data source from which data was loaded at last request.
For example, it will be equal to 21 when loads second page of list with page size of 20.
Number of record in remote data source to which data was loaded at last request.
For example, it will be equal to 40 when loads second page of list with page size of 20. Or it will be equal to total count of available records if records count is less than 40.
Count of records that was loaded at last request.
The biggest value that can be applied to pageSize property.
The smallest value that can be applied to pageSize property.
Internal implementation of pageNumber.
Internal implementation of pageSize.
Total count of records in remote data source.
Returns true
if it's possible to move pager to the previous page (e.g. currently pager is not on the first page).
Returns true
if it's possible to move pager to the next page (e.g. currently pager is not on the last page).
Total pages count computed as totalCount / pageSize. Used to check correctness of values applied to pageNumber.
Specifies number of the page that must be loaded on next request.
Executes several checks. For example, it doesn't accept values bigger than pageCount.
Specifies size of page that must be loaded on next request.
Executes several checks. For example, it doesn't accept values bigger than maxPageSize.
Performs logic associated with parsing of server response returned at data request.
Performs logic associated with pager internal state reset.
Sets pageNumber property to 1
if it's possible.
true
if pageNumber value was changed.
Sets pageNumber property to value of pageCount property if it's possible.
true
if pageNumber value was changed.
Increments pageNumber if it's possible.
true
if pageNumber value was changed.
Decrements pageNumber if it's possible.
true
if pageNumber value was changed.
Global settings for properties such as default values and constraints for pager properties.
These settings are static and their values are copied to the properties of the same name for each instance of PagedPager type.
So, changing of this settings will affect all instances of PagedPager type that will be created after such changes. If you want to change settings of concrete object you can use it the same name properties.
Generated using TypeDoc
Implements Pager contract and represents behavior of list with pages.
This type is configured to use with FiltersService.