|
|
@ -96,9 +96,9 @@ You can see also Types for React-Epub-Viewer [here](https://github.com/altmshfkg |
|
|
|
|
|
|
|
|
|
|
|
### EpubViewer Props |
|
|
|
### EpubViewer Props |
|
|
|
|
|
|
|
|
|
|
|
- `ref` [RefObject] Viewer Ref |
|
|
|
- `ref` - [RefObject] Viewer Ref |
|
|
|
|
|
|
|
|
|
|
|
- `url` [string] - Epub file path |
|
|
|
- `url` - [string] - Epub file path |
|
|
|
- `epubFileOptions` - [[object](http://epubjs.org/documentation/0.3/#book)] Epub file option (Epub.js BookOption) |
|
|
|
- `epubFileOptions` - [[object](http://epubjs.org/documentation/0.3/#book)] Epub file option (Epub.js BookOption) |
|
|
|
- `epubOptions` - [[object](http://epubjs.org/documentation/0.3/#rendition)] Epub viewer option (Epub.js RenditionOption) |
|
|
|
- `epubOptions` - [[object](http://epubjs.org/documentation/0.3/#rendition)] Epub viewer option (Epub.js RenditionOption) |
|
|
|
- `style` - [object] Epub wrapper style |
|
|
|
- `style` - [object] Epub wrapper style |
|
|
@ -114,9 +114,9 @@ You can see also Types for React-Epub-Viewer [here](https://github.com/altmshfkg |
|
|
|
|
|
|
|
|
|
|
|
### ReactEpubViewer Props |
|
|
|
### ReactEpubViewer Props |
|
|
|
|
|
|
|
|
|
|
|
- `ref` [RefObject] Viewer Ref |
|
|
|
- `ref` - [RefObject] Viewer Ref |
|
|
|
|
|
|
|
|
|
|
|
- `url` [string] - Epub file path |
|
|
|
- `url` - [string] Epub file path |
|
|
|
- `viewerLayout` - [object] Viewer layout values (header height, footer height, etc...) |
|
|
|
- `viewerLayout` - [object] Viewer layout values (header height, footer height, etc...) |
|
|
|
- `viewerOption` - [object] Viewer option (whether is flow or is spread) |
|
|
|
- `viewerOption` - [object] Viewer option (whether is flow or is spread) |
|
|
|
- `onBookInfoChange` - [function] Run when book information changed |
|
|
|
- `onBookInfoChange` - [function] Run when book information changed |
|
|
|