gwt - jquery start dragging object when clicked on the other with gwtquery and drag and drop -


in this post question asked how initiate immediate drag operation when object clicked. have same question in context of gwtquery , draggable plugin.

in reference post new item dragged moved under click point , original mouse down event sent on it. possible in gwt?

you should able :

$("#mydraggable").as(draggable).draggable(); $("#myotherdiv").mousedown(new function(){ @override public boolean f(event e) {     //position draggable first     //...     $("#mydraggable").trigger(e);     return false; } }); 

but method trigger(event e) doesn't exist yet in gquery. open issue covering : http://code.google.com/p/gwtquery/issues/detail?id=139


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -