ember-cli-pdf-js

0.0.1 • Public • Published

Ember-cli-pdf-js

Wraps the pdf-js native javascript pdf viewer to display pdfs in an ember app.

Work in progress

This addon is a work in progress and has a number of limitations currently (listeded below).

Installation

ember install ember-cli-pdf-js

Usage

  {{pdf-viewer src='mypdf.pdf'}}

Limitations

  • Can't have multiple instances
  • No sensible hook to configure pdf-js yet
  • Viewer code isn't scoped to the component yet (window, document, hash stuff etc)
  • Viewer code hasn't been emberified making it hard to customise the viewer

Installation

  • git clone this repository
  • npm install
  • bower install

Running

Running Tests

  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.13latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.13

Package Sidebar

Install

npm i ember-cli-pdf-js

Weekly Downloads

3

Version

0.0.1

License

MIT

Last publish

Collaborators

  • jrhe