epub.js
epub.js copied to clipboard
How to check current page is first or last?
After generating pagination it is easy to check current page is 0 or 100% but before generation pagination it is difficult to check either it is first page or last.
How can we determine it is first page or last page?
My problem: Generation pagination takes time.So, I load epub first and then generate pagination second.
I added curl effect to go next or back but problem is while generating pagination i can't determine it is 0 or 100%.
Here the curl effect is just draw over webview in android. Like overlay effect while swiping left or right.
So after cover page or first page i need to stop curl to go back and also for last page i need to stop curl effect to go forward.
How can i do that?
How do I get the total number of pages of the assigned chapters in an ebook?
in start and end page, rendition.location include below
atEnd = true atStart = true