Skip to content

clayrisser/pdf-object

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pdf-object

An embeddable PDF viewer for Polymer

Please ★ this repo if you found it useful ★ ★ ★

Demo

View a live Demo

Installation

bower install --save pdf-object

Dependencies

Requires Polymer 1.0

Usage

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>

Read the Docs

Support

Submit an issue

Screenshots

Screenshot 1

Buy Me Coffee

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!

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT License

Jam Risser © 2017

Credits

Changelog

1.0.0 (2016-03-29)

  • Initial release

About

An embeddable PDF viewer for Polymer

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages