@kamiapp/pdf
v0.8.0
Published
A simple viewer that allows users to easily read and view PDF documents directly within their browser.
Downloads
9
Readme
<kami-pdf>
A simple viewer that allows users to easily read and view PDF documents directly within their browser.
Usage
Install the component using npm
or yarn
or pnpm
:
$ npm install --save @kamiapp/pdf
Import the component into your main js/ts file :
import '@kamiapp/pdf';
And use the component directly into your html :
<kami-pdf src="https://raw.githubusercontent.com/mozilla/pdf.js/ba2edeae/examples/learning/helloworld.pdf"></kami-pdf>
Documentation
To get more informations about this component you can go to the kami-pdf section into the kami collection site web. See the documentation at collection.kamiapp.fr to get more information about how to use each components. You will also find a playground section to test all components.