[whatwg] Expose event.dataTransfer.files accessor to allow file drag and drop

Anne van Kesteren annevk at opera.com
Wed Jun 10 01:45:13 PDT 2009


On Wed, 10 Jun 2009 10:37:03 +0200, Adam Barth <whatwg at adambarth.com> wrote:
> SUMMARY
>
> Currently the <input> element exposes selected files via a "files"
> accessor (i.e., as in https://developer.mozilla.org/En/NsIDOMFileList
> and http://www.w3.org/TR/file-upload/).  We should add a similar
> accessor to event.dataTransfer to enable drag-and-drop of files onto
> web pages.

This is indeed very cool, but http://www.w3.org/TR/file-upload/ is very unstable (and from 2006!) so it seems that would have to be settle a bit more first. At the very minimum a shared understanding of what interfaces we want to provide to deal with files.


-- 
Anne van Kesteren
http://annevankesteren.nl/



More information about the whatwg mailing list