I'm currently working on an editor where you have a list of draggable elements which can be dropped to multiple places (aka dropzones) within the page. It works totally great so far.
But I would like to highlight the possible dropzones on the page when the user starts dragging.
At the moment there are only events for dragenter, dragleave and drop at the dropzone. So I can only highlight it when an accepted draggable is already right over the dropzone.
I'm currently working on an editor where you have a list of draggable elements which can be dropped to multiple places (aka dropzones) within the page. It works totally great so far.
But I would like to highlight the possible dropzones on the page when the user starts dragging.
At the moment there are only events for
dragenter
,dragleave
anddrop
at the dropzone. So I can only highlight it when an accepted draggable is already right over the dropzone.jQuery UI droppable provides such callbacks: dropactivate and dropdeactivate.
I think these two events would be a great benefit for interactjs!
Also you may have an idea how to achieve this right?