UNPKG

@empathyco/x-components

Version:
19 lines (10 loc) 873 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [SearchActions](./x-components.searchactions.md) &gt; [increasePageAppendingResults](./x-components.searchactions.increasepageappendingresults.md) ## SearchActions.increasePageAppendingResults property Checks if there are more pages of results to load. If there are, then increases the page number in state and set to `true` the [SearchState.isAppendResults](./x-components.searchstate.isappendresults.md) flag. **Signature:** ```typescript increasePageAppendingResults: () => void; ``` ## Remarks This action is to implement the infinite scroll behaviour. To increase the page for other purposes, please use the [SearchMutations.setPage](./x-components.searchmutations.setpage.md) mutation.