Sometimes we need to trigger JavaScript during a configuration change. For example if the user submit new preferences (use case: switching the EPUB theme when the system mode changes).
This fails because the JavaScript layer (readium namespace) is not yet loaded.
As a workaround, we schedule incoming JavaScript requests until the webview page is loaded again.
Sometimes we need to trigger JavaScript during a configuration change. For example if the user submit new preferences (use case: switching the EPUB
theme
when the system mode changes).This fails because the JavaScript layer (
readium
namespace) is not yet loaded.As a workaround, we schedule incoming JavaScript requests until the webview page is loaded again.