Giter Site home page Giter Site logo

androidovshchik / angularepubviewer Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 15.0 117 KB

Angular library based on Epub.js

Home Page: https://androidovshchik.github.io/AngularEpubViewer

License: GNU General Public License v3.0

TypeScript 91.57% JavaScript 8.43%
angular epub ionic library

angularepubviewer's People

Contributors

androidovshchik avatar directti avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

angularepubviewer's Issues

EpubJS Version

Hi,

What epubjs you are using?

Version: 2, 3 or 4?

Thanks.

In ios mobile browsers epub is not rendering properly.

Hi,
We are getting issue with iOS mobile browsers,In all other android phones its working fine.
We are getting domainurl/stylesheet.css is cancelled error in the console.
We tried with all CSP(content-security-rules) for style-src but still getting same error.

Please let me know if you have any idea.

Scrollable Content

How to set the render properties?

EPUB.js has the continuous rendering mode

book.renderTo("area", { method: "continuous", width: "100%", height: "100%" });
book.renderTo("area", { flow: "scrolled-doc" });

I tried but it doesn't seems to work:
_this.epub.renderTo('angularEpubViewerComponent',{ flow: "scrolled-doc" });

Can you suggest how to achieve this functionality?

Not bootstrapping with new RXJS 7.x version

Hi,

I have moved from RXJS6.x to 7.x version and tried running the epub viewer, it is not working and throwing error while loading the library file. Please find the attachment for error details.
Screenshot 2021-11-10 at 3 40 01 PM
s.

ePub not displayed

Hi,

I have a master detail pattern and try to display at every detail page another epub.

It works great on one detail page, but if I go back to master and select another book detail page the epub is not shown.

In the DOM is nothing rendered and added to the epub-viewer component:
<angular-epub-viewer><div id="angularEpubViewerComponent"></div></angular-epub-viewer>

I also checked the output events of onDocumentReady and onErrorOccurred.

No error is thrown and onDocumentReady is fired.

I use your latest version and the latest epubjs 2.x.x version with angular 6.

Any idea?

I would be glad about help.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.