Get parent of element
osmanraifgunes opened this issue · 1 comments
osmanraifgunes commented
I am trying to get parent element of dragged item inside onDragStart and callback events. Is it possible?
fyllepo commented
You have access to the current element, so just traverse up...
onDragStart: function (l, e) {
var parentList = e.parents('li');
}