Ratul Sikder
Ratul Sikder
I also get this issue while working with angular
I solve the issue. Step1: Use import * as epubjs from PATH_TO_NODE_MODULE Step2: Make ts-lint issue(that show in import statement) false in tsconfig file Or see this https://github.com/futurepress/epub.js/issues/1196
**"noImplicitAny": false** in **tsconfig compilerOptions** works when epub directly imported from node_module. This can not solve the problem totally I just change **XMLDOMParser** to **DOMParser** of **section.js** in **node_module** as...
> I get epubcfi(/6/4[Section0001.xhtml]!/12/6/2,/1:0,/1:8) in desktop and epubcfi(/6/4[Section0001.xhtml]!/4/6/2,/1:0,/1:7) in mobile for same selected content. For so, I can't sync annotation between cross devices(mobile and desktop web reader).
Another way to get total Page 1. Hiddenly render every chapter. 2. Sum up the value of ` rendition.location.start.displayed.total` of each chapter 3. Total summation is the total page by...
> We've run into similar issues and found that you can wait for the view document's fonts to load (i.e. the iframe is loading a fresh document and has `fonts`...