-
Notifications
You must be signed in to change notification settings - Fork 108
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
PAGINATION_CHANGED not reliable to indicate finished state, in scroll view (continuous) #157
Comments
Try reader.on(ReadiumSDK.Events.PAGINATION_CHANGED, function (pageChangeData)
{
}); See how it's used in the ReadiumJS cloud reader / Chrome app, to switch the loading indicator (spinner) off: |
Thank you sir. In CONTINUOUS mode, the spinner can show forever untill I scroll my mouse (it is not happen all the time, but quite common when you reopen a book at middle of certain chapter). Continuous-scroll mode is also the reason why we can not use Could you please share some information about how Readium make a decision about "well, I need to load another document now" in CONTINUOUS scroll mode? And whether there is a concrete clue or sign I can make use of to make sure Readium is done with loading the LAST document at the moment in CONTINUOUS mode? Thanks. |
Your observations about I haven't checked the emitted To be honest, I assumed (perhaps wrongly ... I need to go check this) that |
Re-opening since it sounds like the issue isn't really closed... |
We want to make a loading cover for our reading app.
When user open a book, this loading cover will make the reading area invisible, so that we can do some neccessary manipulation to the page before it is ready for the user. But we don't know WHEN to dimiss the cover.
My question is:
Is there a init ready alike event in readiumJs that can be used for this purpose?
Or, how can I make sure readiumJs is done generating new DOM elements (aka. init finished)?
PS: I have tried ReadiumSDK.Events.CONTENT_DOCUMENT_LOADED event, but it is not quite suitable for what we need.
Please help.
Thanks
The text was updated successfully, but these errors were encountered: