We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa4c937 commit 1bc10f3Copy full SHA for 1bc10f3
README.md
@@ -41,6 +41,14 @@ pdfViewer.setSrc(resource);
41
pdfViewer.openThumbnailsView();
42
add(pdfViewer);
43
```
44
+
45
+#### Since version 5.0.0 - DownloadHandler support
46
+```java
47
+PdfViewer pdfViewer = new PdfViewer();
48
+pdfViewer.setSrc(DownloadHandler.forClassResource(getClass(), "/pdf/example.pdf"));
49
+add(pdfViewer);
50
+```
51
52
## Missing features or bugs
53
54
You can report any issue or missing feature on [GitHub](https://github.com/vaadin-component-factory/vcf-pdf-viewer/issues).
0 commit comments