-
Notifications
You must be signed in to change notification settings - Fork 61
Open
@caiokawasaki
Description
I'm facing a little problem. When I call :ondragend="dragEnd"
.
This is my node structure:
{
description:"Minima nihil quia maiores sunt perferendis dolorem aut.",
id: 2,
identifier: "10000.10000",
open: true,
type: 1,
value: "Repellat ut veniam labore enim quasi ad temporibus."
}
Inside the dragEnd
function when I try to access the parent node it always return the previous parent node. How can I solve this?
dragEnd(node) {
if (node.parent.type != 1) {
return false
}
}
Metadata
Metadata
Assignees
Labels
No labels