[html5] Draggable API dragend event

Ian Hickson ian at hixie.ch
Tue Aug 3 14:12:37 PDT 2010

On Thu, 6 May 2010, Jaikishan Jalan wrote:
> I am curious how to determine if the drop event was successful in the 
> dragend event. In the example shown 
> http://www.whatwg.org/specs/web-apps/current-work/, it remove the 
> element on dragend event. I want to drop the selected element only if 
> the drop was successful. On way is to do this ondrop event. But I feel 
> like dragend is really the place to do it.

ondrop is the place to do it, as far as I can tell.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

More information about the Help mailing list