An embeddable PDF viewer for Polymer
View a live Demo.
Install the component using Bower:
$ bower install --save pdf-objectOr download as ZIP.
Requires Polymer 1.0
Read the Docs
Example:
<pdf-object file="http://www.polyu.edu.hk/iaee/files/pdf-sample.pdf"></pdf-object>Example - with card enabled and elevation set to 5:
<pdf-object file="[[pdfUrl]]" elevation="5" card></pdf-object>Example - with data binding and custom height:
<pdf-object file="[[pdfUrl]]" height="800px"></pdf-object>A ridiculous amount of coffee was consumed in the process of building this project. Add some fuel if you'd like to keep me going!
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -m 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
Take a peek at the changelog.