Skip to content

v3.0.2

Choose a tag to compare

@alekswebnet alekswebnet released this 23 Feb 02:26
· 36 commits to master since this release

🚀 The component now is standalone and does not need any prebuilt of PDF.js.
[email protected]
All needed source files are already included in package from PDF.js v5.4.624 release
Works with cross-origin documents

#39, #34

Thank you guys for your valuable comments ❤️

This release contains breaking changes:

  • Removed viewer-path attribute, the component does not need external PDF.js prebuild anymore
  • Removed nameddest, disable-worker, text-layer, disable-font-face, disable-range, disable-stream, disable-auto-fetch, verbosity - not necessary for the production build
  • CDN URL changed to https://cdn.jsdelivr.net/npm/pdfjs-viewer-element/dist/pdfjs-viewer-element.js

If you still need some removed/changed features you can use v2 release and v2 package