[whatwg] Drag and drop in HTML5
Ian Hickson
ian at hixie.ch
Thu May 5 14:54:19 PDT 2005
On Thu, 5 May 2005, Hallvord Reiar Michaelsen Steen wrote:
>
> [...]
So to summarise, you want a way to make a drag operation initiated on one
element cause a number of elements to simultaneously be dragged.
I see the use for that. As far as the mail case goes, I would imagine that
would be done via a <datagrid> which would support dragging natively, so
that would be a different problem. But I could see it being possible for
groups of DOM nodes as well.
My proposal for doing that would be to have a way in ondragstart to say
"...and by the way, also drag all these elements at the same time".
As in:
function dragStartHandler(e) {
e.dataTransfer.addElement(e.target.nextSibling.nextSibling);
}
...or something.
--
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg
mailing list