Skip to main content
Version: 15.2.0

Pdf Viewer

<bk-pdf-viewer></bk-pdf-viewer>

pdf-viewer

allows to visualize PDF files in the browser through an iframe which embeds the default browser PDF viewer. While the Pdf Viewer is capable of previewing various file types, it is recommended to restrict its use primarily to the visualization of PDF files.

Upon listening to the show-in-viewer event, the Pdf Viewer retrieves the URL of the file to preview from the event payload and shows it.

How to configure​

The Pdf Viewer does not require any configuration.

{
"tag": "bk-pdf-viewer"
}

API​

Properties & Attributes​

None

Listens to​

eventaction
show-in-vieweropens PDF in browser

Emits​

None