Skip to content
This repository has been archived by the owner on Apr 20, 2021. It is now read-only.

Latest commit

 

History

History
executable file
·
35 lines (24 loc) · 972 Bytes

README.md

File metadata and controls

executable file
·
35 lines (24 loc) · 972 Bytes

NativeScript ePub Reader Plugin

npm npm

NativeScript plugin to open and read ePub files natively. Currently only supported on iOS.

Getting Started

  • npm install nativescript-pdf
  • Place your epub files in your App_Resources/iOS directory.
  • Import EPubReader in your page and open the file.

Code Sample

import {Observable} from 'data/observable';
import {EPubReader} from 'nativescript-epub';

export class HelloWorldModel extends Observable {

  constructor() {
    super();

    let epubReader = new EPubReader();
    epubReader.open('book');
  }

}

Example

Image

Credits