Skip to content

jrhe/ember-cli-pdf-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

20473b7 · Jul 3, 2015

History

2 Commits
Jul 3, 2015
Jul 3, 2015
Jul 2, 2015
Jul 3, 2015
Jul 3, 2015
Jul 3, 2015
Jul 2, 2015
Jul 2, 2015
Jul 2, 2015
Jul 2, 2015
Jul 2, 2015
Jul 2, 2015
Jul 2, 2015
Jul 2, 2015
Jul 2, 2015
Jul 2, 2015
Jul 3, 2015
Jul 3, 2015
Jul 3, 2015
Jul 3, 2015
Jul 2, 2015

Repository files navigation

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/.

About

En ember addon to allow you to use pdf-js with ember

Resources

License

Stars

Watchers

Forks

Packages

No packages published