janpio / ionic-epubjs

Ionic 3 app using Epub.js
https://janpio.github.io/ionic-epubjs/
31 stars 20 forks source link

book.all.ready promise is not giving result nor causes any error #3

Closed kama1 closed 7 years ago

kama1 commented 7 years ago
  this.book.all.ready.then(foo =>{
    console.log('ready', foo);
  }).catch(error => {
    console.log(error);
  });

not logging anything take a look at: https://github.com/futurepress/epub.js/wiki/Tips-and-Tricks

janpio commented 7 years ago

I don't see ready anywhere on that page. Wrong link?

this.book.ready.all.then(... from my code fires instantly though. (You have to pull my updates, I fixed the stuff you pushed via PR to me)