How to get destinations of contents such as figures, tables and equations in PDF?

I’m using PDF.js Express Viewer 8.1.1

Detailed description of issue
In PDF.js (Mozilla), the function getDestinations can return a mapping from named destinations to references, including figures, tables and equations, as here says. With this function, I can set buttons in other panels that can jump to the corresponding item. However, I haven’t found an API within PDF.js Express that has similar features.

Expected behaviour
I just want to know if there is a way to get the destination of the contents in PDF.js Express.

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:


Hi there!

Unfortunately we do not have any APIs to get a list of named destinations at the moment. I will put it in the backlog to investigate this and see what we can do.