javascript - Draggabilly and Packery highlight drop area -



javascript - Draggabilly and Packery highlight drop area -

my question relates first-class javascript library called packery using create masonry style layout. using sis script called draggabilly allow user drag , drop (reorder) items in page. doing similar conventional usage: http://codepen.io/desandro/pen/ckbkw

when drag item interface leaves space big plenty element dropped. wanted place div there temporarily indicate element dropped. need way x, y co-ordinates dragged element come rest 1 time released can't seem figure out how information.

and using dragmove listener expect display div , provide right co-ordinates:

draggie.on( 'dragmove', function(draggieinstance, event, pointer) { //code display , position ghost div });

any assistance much appreciated.

javascript jquery draggable packery

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -