Module

calculatePageByScrollTop

Calculate active page based on scroll top and row size properties. This is useful of list with vertical-scrolled pagination.
Parameters:
Name Type Description
scrollTop
rowHeight
pageSize
options

View Source pagination/calculatePageByScrollTop.js, line 3

The page number (start from 1)