Fyneworks PDF Viewer

This a a sample page of how a Fyneworks PDF Viewer can be integrated with any website

This page has a single script injection, fyne.js

fyne.js will listen for triggers (eg.: click/mutation) then load and launch the app on demand.

Example 1, in a dialog, triggered by a click

Example 2, in a html element, triggered onload

Example 3, when an element is detected (uses mutation observer)

Example 4, in a dialog with fwx.fyne.pdf.show({ pdf: "..." })
eg.: fwx.fyne.pdf.show({ pdf: "" })

Example 5, direct integration without lazy-loading

Related links:
https://github.com/fyneworks/fyne-pdf
https://www.npmjs.com/package/@fyne/pdf
https://unpkg.com/browse/@fyne/pdf@latest/
https://unpkg.com/@fyne/pdf@latest/fyne.js
https://pdf.fyne.dev/