-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is any way to get current page and total pages? #286
Comments
I see example, and i get pages by chapter without problem. But i want get all pages like iBooks. There is a way? Thanks. |
Related: readium/readium-js#16 |
My code to solve part of problems. It gets the page count by section/chapter. But i need get all pages count.
|
Yes, there is a similar implementation in Readium SDK Launcher-iOS:
|
Hi, i already do it im my project. But it get the current and total pages for the current "chapter".
But i want get the total pages of all chapters/spines. |
Hi @paulocoutinhox, did you manage to get current page no and total page count? |
Hello @cuneyttyler , did you manage to do it? |
@guidomagaldi Yes, I calculated the current page by considering the sizes of each chapter files and looking at the percentage of scroll in the current chapter. I assumed the size of one page is 7 kb. You can use the code below:
|
@cuneyttyler I will try this, thank you for your time! I really appreciate it :) |
Hi,
There is any way to get current page and total pages?
Thanks.
The text was updated successfully, but these errors were encountered: