Core is defined but PDFNet isn’t. You will need to include the PDFNet.js file if you plan to use PDFNet APIs: PDFTron Systems Inc. | Documentation.
Is there a way to change the size of the Search panel and the ambientString length of search result?
thank you.
I added the PDFNet.js to my index.js
and the error is like this:
In the console:
it seems like the “webviewer-core.min.js” error?
Sorry for the late response!
I just noticed that you are not setting a scroll view element. Is this being set somewhere else?
You can reference our custom UI guide for more details on what you should provide: PDFTron Systems Inc. | Documentation
thank you. I have fixed all the errors based on your sulotioons!