pageOpened

open suspend fun pageOpened(pageIndex: Int)(source)

The reader landed on this page: run its open script. A viewer calls this when a scroll or a page turn settles on the page, with the page's index in the document.