pageClosed

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

The reader left this page, for another page or because the view closed: run its close script. A viewer calls this before it opens the next page.