This component has two WebBlocks. One is for displaying binary PDFs, and the other for displaying PDFs from a URL.
It leverages your WebBrowser’s PDF functionality, so the features such as (print, zoom, download) may vary from browser to browser.
It’s been tested in Chrome, FireFox, Safari.and Edge
Simply set the height, bind the PDF parameter to the appropriate variable.
When the content of the variable is set, the PDF will render.
- Made possible loading of large files (> 2 MB)
- Cleaned unnecessary dependencies
- Made refresh on render (pdf is shown also on initial loading with default params)
- Made Height text instead of integer (possible values e.g. "100", "100vh" , "100 px" etc.)
- Updated Demo