<pdf-browser-viewer>
PDF viewer using native browser object as application/pdf
Example:
<pdf-browser-viewer id="pdfViewer" file="[[pdfUrl]]" width="100%"></pdf-browser-viewer>
Data Bind with Blob example:
this.pdfUrl = URL.createObjectURL(blob);
Clear PDF container example:
this.$.pdfViewer.clear();
Message example:
<pdf-browser-viewer
file="[[pdfUrl]]"
not-supported-message="Not supported by your browser"
not-supported-link-message="see the file here!">
</pdf-browser-viewer>
Card example:
<pdf-browser-viewer
file="[[pdfUrl]]"
card elevation="3"
download-label="Baixar">
</pdf-browser-viewer>