Pdf

<ppw-pdf-links>

Show a list of PDF.

<ppw-pdf-links>

Show a list of PDF.

The target documents are in the public folder.

prop pdfs

The displayed PDF are set with the pdfs prop :

prop download_on_click

Download the PDF when the user click on it. Default is true. The following PDF will download on click and then can not be selected :

Set download_on_click to false to allow the selection of a single PDF. The following PDF will not download on click and then can be selected :

prop selected

You can pre-select a PDF with the selected prop:

prop action1_enabled

Enable the action1 button. Default is false.

The event action1 is fired when the user click.

No action1 button when download_on_click is true :

When download_on_click is false (PDF are selectable) and action1_enabled is true, the action buttons appear only on selected PDF :

prop action2_enabled

Same as prop action1_enabled

You can show both action1/2 buttons :

prop action1_icon

Change action1 button icon. Default is mdi:eye :

prop action2_icon

Same as prop action1_icon

prop enable_global_actions

default: false

Show the special global actions : upload from local files, webcam ...

Example with many pdf

Download the PDF when the user click on it. Default is true :