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

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/

Received on Wednesday, 10 June 2009 01:45:13 UTC