Created
July 10, 2018 19:18
-
-
Save coelhucas/610cc74a74c0cba973b059d879bbc589 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this.fileTransfer.download('https://github.com/janpio/ionic-epubjs/raw/master/src/assets/books/moby-dick.epub', path + 'moby-dick.epub').then(entry => { | |
this.finishedDownload = true; | |
let url = entry.toURL(); | |
this.current_book = new Book(); | |
this.current_book.label = "Moby Dick (.epub)"; | |
this.current_book.file = path + 'moby-dick.epub'; | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment