PDF rendering is configured through
modules.pdf today, but it isn’t a built-in UI surface: it’s a viewer for a different file type.Install pdf.js
Installpdfjs-dist in your app:
>= 5.4.296.
Quick start
Worker setup (recommended)
This is the recommended approach because the worker is configured once for the whole application.Configuration
Events
pdf:document-ready
Fired when all PDF pages are rendered.
Notes
outputScaleaffects render quality; zooming does not re-render the canvas.- If you need text selection, enable
textLayer: true.

