8.4.1 Tab manager problem

Hello

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.

WebViewer Version: 8.4.1

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:APIs:Forums:

Hi,

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

Hello Andrew

I used the type.d.ts linked and now it compiles fine.

Cheers

Hi,

I’m glad the fix works for you. Currently we are reviewing a fix for this and it should be in our nightly stable builds ( PDFTron ) sometime soon

Best Regards,

Andrew Yip
Software Developer
PDFTron Systems, Inc.
www.pdftron.com