I have a requirement where I have to cancel drop based on what index the item is being dropped to.
A beforeDrop hook with same arguments as onDrop would fit seamlessly in the already awesome API.
Return value of beforeDrop hook will determine if drop will happen or not.
Hey. Thanks for the awesome library.
I have a requirement where I have to cancel drop based on what index the item is being dropped to. A
beforeDrop
hook with same arguments asonDrop
would fit seamlessly in the already awesome API.Return value of
beforeDrop
hook will determine if drop will happen or not.Hope you reply.