New to KendoReact? Start a free 30-day trial
currentPage
currentPagePremium
A function which gives you the page number of the document according to the scroll position.
Parameters
rootElement
HTMLElement
The root HTML element of the PDFViewer component.
Returns
number
The page number.