Detailed description of issue
I get the following error while creating custom annotation while following this guide https://pdfjs.express/documentation/annotation/custom-annotations
I am using Angular 9 to load the WebViewer
Can you please provide angular sample or guide for custom annotations if possible?
Link to document
Here’s my config file for the custom annotation
myConfig.zip (1.1 KB)
Code snippet
This is how I am calling the config file in my WebViewer
WebViewer(
{
path: “…/lib/public”,
config: “…/assets/myConfig.js”,
},
this.viewer.nativeElement
);