Hi,
first of all, nice job, really!
I've tried to get the info on forums and i wasn't lucky or didn't understand correctly, any help will be appreciated.
I'm trying to use drag and click callbacks on Draggable instances. In fact it works pretty well. The problem is that i want the instances to be clickable OR draggable. I don't want instances to be draggable until my app is in the correct context.
I know there is a method like disable()... but that would disable the whole instance and i just want to dissable one callback.
I know i could use native clickable, but i would prefer to keep al my events in a gsap code. Creatting/killing draggable instances while on native clicks looks ugly
I know i could put an if(condition) inside my 'onDrag' callback... but that wouldn't stop the drag action itself.
What do you thing would be the best approach? I see this case is a typical situation in web environment, but it seems like "Draggable" instances are all callbacks or noting... or i am wrong
Thank you in advance