Hello,
I am using your amazing Draggable classes to drag and drop divs and I'm looking for a way to detect if a draggable object is enabled or not...
This is my list of draggables divs:
var DraggableList = Draggable.create(myDivsArray, { type:"xy"});
After some user actions, I need to disable divs, so I use:
DraggableList[divIndex].disable();
But how can I check if a div is enabled or not?
// Something like that for example:
if(DraggableList[divIndex].enabled){
// this div is enabled for the drag...
}else{
// this div is NOT enabled for the drag...
}
I checked the Draggable object and I didn't se any "enabled" properties...
Do you know if there is way to check the state of a Draggable div?
If there isn't, it could be great to add this feature to the Draggable object.
Thanks!