How to use the epubjs/src/epub function in epubjs

To help you get started, we’ve selected a few epubjs examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github learningequality / kolibri / kolibri / plugins / epub_viewer / assets / src / views / EpubRendererIndex.vue View on Github external
beforeMount() {
      global.ePub = Epub;
      this.book = new Epub(this.epubURL);

      const { theme = this.theme, fontSize = this.fontSize } =
        Lockr.get(EPUB_RENDERER_SETTINGS_KEY) || {};
      this.theme = theme;
      this.fontSize = fontSize;
    },
    mounted() {

epubjs

Parse and Render Epubs

BSD-2-Clause
Latest version published 2 years ago

Package Health Score

62 / 100
Full package analysis

Similar packages