Skip to content

DataTransfer.items #54

@pete-murphy

Description

@pete-murphy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy