vue-pdf-reader
A vue pdf reader component, based on pdf.js.
How to use
# install dependenciesnpm install vue-pdf-reader
// use in vue;Vue;
/* CSS */;
Another way:
This package may cause long time to build with webpack, so you can import this lib as follows
......
Props
propName | isRequired | defaultValue | remark |
---|---|---|---|
url | true | empty | The Uri for pdf file. |
laoding-text | false | 'File loading...' | The remind text for loading. |
TODO
[ ] zoom document.
[ ] ...