In addition to the classic pagination with a toolbar & prev/next buttons, you can also use
pagination - pages are loaded as you scroll. Use
, and you can use it together with
to control the page size. Have a look at the source code of the next example below.
scrollThreshold is specified, the next page will be loaded when the user reaches the scroll max height minus
scrollThreshold of the page - if the threshold is specified as a string, in pixels (for example,
scrollThreshold is a number or it is a percentage (for example,
scrollThreshold=0.6), the next page will be loaded when the user reaches the specified percentage of the scroll max height.