pdfobject-initfromdom
Version:
PDFObject Dom Init Support
18 lines (11 loc) • 536 B
Markdown
Quick and easy view your PDF files using dom in addition to the **PDFObject** plug-in.
*For cross platform support, if it is a browser or a phone that does not support pdf viewing, google uses embedded viewer.*
# Installation
`npm i pdfobject-initfromdom --save`
# Usage
```
<div class="viewPdf" data-pdf="https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"></div>
```
# Required Packages
- [PDFObject](https://github.com/pipwerks/PDFObject/ "PDFObject")
- [jQuery](https://github.com/jquery/jquery "jQuery")