I am currently trying out the new tabmanager in 8.4.1 in an angular project but cannot get it to work. I cannot compile my project : no functions are available on the tab manager?
“addTab doesnt exist on typeOf Tabmanager”
I tried copying the examples from the docs but it doesnt work.
Thank you for contacting us regarding WebViewer and reporting this issue! It looks like our TypeScript “types.d.ts” file doesn’t have the new TabManager definition setup correctly. You can use the one in the link below (you’ll need to rename the file) type.d.ts
Pleas let us know if that file works for you. We’ll update the type.d.ts in our official build in the future.
Best Regards,
Andrew Yip
Software Developer
PDFTron Systems, Inc. www.pdftron.com