fix(core,nodes): rename parentNode prop to parent
Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -215,7 +215,7 @@ const NodeWrapper = defineComponent({
|
|||||||
dimensions: node.dimensions,
|
dimensions: node.dimensions,
|
||||||
isValidTargetPos: node.isValidTargetPos,
|
isValidTargetPos: node.isValidTargetPos,
|
||||||
isValidSourcePos: node.isValidSourcePos,
|
isValidSourcePos: node.isValidSourcePos,
|
||||||
parentFoo: node.parentNode,
|
parent: node.parentNode,
|
||||||
zIndex: node.computedPosition.z,
|
zIndex: node.computedPosition.z,
|
||||||
targetPosition: node.targetPosition,
|
targetPosition: node.targetPosition,
|
||||||
sourcePosition: node.sourcePosition,
|
sourcePosition: node.sourcePosition,
|
||||||
|
|||||||
@@ -131,7 +131,7 @@ export interface NodeProps<Data = ElementData, CustomEvents = {}, Type extends s
|
|||||||
/** called when used as source for new connection */
|
/** called when used as source for new connection */
|
||||||
isValidSourcePos?: ValidConnectionFunc
|
isValidSourcePos?: ValidConnectionFunc
|
||||||
/** parent node id */
|
/** parent node id */
|
||||||
parentNode?: string
|
parent?: string
|
||||||
/** is node currently dragging */
|
/** is node currently dragging */
|
||||||
dragging: boolean
|
dragging: boolean
|
||||||
resizing: boolean
|
resizing: boolean
|
||||||
|
|||||||
Reference in New Issue
Block a user