pdfobject-initfromdom

1.0.3 • Public • Published

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

    Package Sidebar

    Install

    npm i pdfobject-initfromdom

    Weekly Downloads

    1

    Version

    1.0.3

    License

    ISC

    Unpacked Size

    1.68 kB

    Total Files

    3

    Last publish

    Collaborators

    • bzc