portia
March 2, 2023, 9:10am
1
Which product are you using?
PDFjs Express version
PDF.js Express Version
8.4.0
Detailed description of issue
I have added a custom close button on the header of the viewer to close the PDF view. I need to set the close button clickable if the PDF is invalid. Need to enable only that close.
Hello
You could add a custom modal using addCustomModal
and disable the invalid pdf structure modal,
see: PDFJS Express WebViewer Namespace: UI
portia
March 3, 2023, 10:29am
4
Hi,
Thank you for your quick response. how can I disable the default invalid pdf structure modal? Can you provide a code example?
Hello portia,
You can use: PDFJS Express WebViewer Namespace: UI
and finding the data element using this guide: Apryse Documentation | Documentation
Best regards,
Tyler