# Drag & drop support

**URL:** <https://pdfjs.community/t/drag-drop-support/751>\
**Category:** Technical Support\
**Tags:** pdfjs-express\
**Created:** [May 5, 2021, 11:30pm UTC](https://pdfjs.community/t/drag-drop-support/751 "2021-05-05T23:30:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![johannes.neugschwent](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@johannes.neugschwent](https://pdfjs.community/u/johannes.neugschwent)\
**Post date:** [May 5, 2021, 11:30pm UTC](https://pdfjs.community/t/drag-drop-support/751/1 "2021-05-05T23:30:43Z")

</div>

**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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/ffbcd25c7d423db8d5acd5db201c272f4db306dd.png) [@system](https://pdfjs.community/u/system)\
**Post date:** [May 5, 2021, 11:30pm UTC](https://pdfjs.community/t/drag-drop-support/751/2 "2021-05-05T23:30:46Z")

</div>

**Hello, I’m Ron, an automated tech support bot 🤖**

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

Guides:
- [Add annotation events](https://pdfjs.express/documentation/annotation/annotation-events)
- [Support forms with PDF.js Express](https://pdfjs.express/documentation/forms/overview)
- [Customize annotation tools - Event when tool creates an annotation](https://pdfjs.express/documentation/annotation/customizing-tools#event-when-tool-creates-an-annotation)

APIs:
- [CoreControls.AnnotationManager - getAnnotationsByMouseEvent(event)](https://pdfjs.express/api/CoreControls.AnnotationManager.html#getAnnotationsByMouseEvent__anchor)
- [Annotations.Forms.EmbeddedJS - update(callback)](https://pdfjs.express/api/Annotations.Forms.EmbeddedJS.html#update__anchor)
- [CoreControls.BlackBoxAnnotationManager - preloadAnnotations(An)](https://pdfjs.express/api/CoreControls.BlackBoxAnnotationManager.html#preloadAnnotations__anchor)

Forums:
- [(SOS) Unable to trigger annotationsLoaded event explicitly](https://pdfjs.community/t/sos-unable-to-trigger-annotationsloaded-event-explicitly/473/3)
- [Cannot lock pdf](https://pdfjs.community/t/cannot-lock-pdf/740/1)
- [Flipped annotations aren’t triggering annotationChanged (modify) event, also NOT getting saved/export](https://pdfjs.community/t/flipped-annotations-arent-triggering-annotationchanged-modify-event-also-not-getting-saved-export/591/1)

---

<div class="post-metadata">

**Author:** ![Logan](https://yyz1.discourse-cdn.com/flex031/user_avatar/pdfjs.community/logan/32/13_2.png) [@Logan](https://pdfjs.community/u/Logan)\
**Post date:** [May 11, 2021, 3:31pm UTC](https://pdfjs.community/t/drag-drop-support/751/3 "2021-05-11T15:31:03Z")

</div>

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
