Closed
Description
Prerequisites
- Before opening an issue, please check the HTML standard (https://html.spec.whatwg.org). If it doesn't appear in this spec, it may be present in the spec for one of the other
purescript-web
projects. Although MDN is a great resource, it is not a suitable reference for this project.
Description
I recently had a use case for the DataTransfer.items
method to detect MIME types of dragged files on an onDragEnter
event listener (DataTransfer.files
returns an empty array when dragging). Would this be something that would be a welcome addition?
HTML Standard Reference
https://html.spec.whatwg.org/#dom-datatransfer-items
First pass at an implementation (currently with no documentation)
https://github.com/ptrfrncsmrph/jira-dependencies-frontend/tree/main/src/Web/HTML/Event/DataTransfer