You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
beforeAdd({ to, from }) {
// from is null when we're not dragging from the current node tree
console.log('beforeAdd', to, from);
}
Here, from returns undefined and to returns the node object that's currently being dragged. But in the method, there's no way to get the information of the destination node to which the currently dragged node is going to be attached. Kindly help in understanding if there's a way to achieve the same.
The text was updated successfully, but these errors were encountered:
Here,
from
returnsundefined
andto
returns the node object that's currently being dragged. But in the method, there's no way to get the information of the destination node to which the currently dragged node is going to be attached. Kindly help in understanding if there's a way to achieve the same.The text was updated successfully, but these errors were encountered: