You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
NB ed7897ffbd v0.1.2 4 years ago
public Remove unnecessary files 4 years ago
src Remove unnecessary files 4 years ago
.babelrc modules alpha version init 4 years ago
.gitignore update Reademe file 4 years ago
.npmignore modules alpha version init 4 years ago
LICENSE Initial commit 4 years ago
README.md update Reademe file 4 years ago
package.json v0.1.2 4 years ago
tsconfig.json modules alpha version init 4 years ago
yarn.lock Remove unnecessary files 4 years ago

README.md

Latest Stable Version License

react-epub-viewer

Epub Viewer for React.js powered by Epub.js

View Demo Page.

EpubViewer

If you put ref as an argument, the module will register the viewer as an iframe in the ref. Also, there are some functions written in the ref by default.

  • handleKeyPress Function
  • onLocationChange Function
  • selectionChanged Function

ReactViewer

  • onTocChange Event
  • onBookInfoChange Event
  • onPageChange Event
  • onSelection Event
    • Fire with mouseup event
  • Custom Loading Component