Drag & drop support

PDF.js Express Version

Detailed description of issue
I expect for all native JS events to be exposed via the AnnotationsManager,
but drag and drop events are not …

Expected behaviour
being able to subscribe via provided tools easily

Does your issue happen with every document, or just one?
any

Link to document
{Provide a link to the document in question if possible}

Code snippet
using react and react-dnd I would like to have form fields as rendered in the iframe react to draggables … but there is no easy way because drag/drop events are not exposed via the tools

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 there!

AnnotationManager is a custom class which doesn’t have anything to do with Drag and drop.

Please note that you have access to all the native DOM elements, so you can still bind to those and subscribe to whichever events you want using native JS apis.

Thanks!
Logan