[whatwg] more drag/drop feedback

Robert O'Callahan robert at ocallahan.org
Thu Jun 19 18:07:07 PDT 2008


On Thu, Jun 19, 2008 at 9:31 AM, Thomas Broyer <t.broyer at gmail.com> wrote:

> On Wed, Jun 18, 2008 at 4:46 PM, Neil Deakin wrote:
> > We have a need to be able to support both dragging multiple items, as
> well
> > as dragging non-string data, for instance dragging a set of files as a
> set
> > of File objects (see http://www.w3.org/TR/file-upload/) from the file
> system
> > onto a page.
>
> That would be new data formats.
> That's how Adobe AIR solved the problem. They added a Bitmap and File
> list data formats, for which getData returns AIR-specific objets (a
> BitmapData and an array of File objects respectively)
>
> http://help.adobe.com/en_US/AIR/1.1/jslr/flash/desktop/ClipboardFormats.html
> http://livedocs.adobe.com/air/1/devappshtml/DragAndDrop_2.html#1048911


Creating a new data format for each kind of collection seems suboptimal. And
it breaks completely if you want heterogeneous collections.

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20080620/15052373/attachment.htm>


More information about the whatwg mailing list