From e64ab352e871daf0df993ae2d10cdb4ab443f5ef Mon Sep 17 00:00:00 2001 From: Robin Hoodie Date: Fri, 16 Feb 2024 12:42:01 +0100 Subject: [PATCH] fix(docs): correct prop names for node guide (#1321) Update incorrect property names Update `sourceHandle` => `sourcePosition` Update `targetHandle` => `targetPosition` --- docs/src/guide/node.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/src/guide/node.md b/docs/src/guide/node.md index ff9500b2..26ec7b42 100644 --- a/docs/src/guide/node.md +++ b/docs/src/guide/node.md @@ -408,8 +408,8 @@ const nodes = ref([ id: '1', label: 'Default Node', type: 'default', // You can omit this as it's the fallback type - targetHandle: Position.Top, // or Bottom, Left, Right, - sourceHandle: Position.Bottom, // or Top, Left, Right, + targetPosition: Position.Top, // or Bottom, Left, Right, + sourcePosition: Position.Bottom, // or Top, Left, Right, } ]) ``` @@ -434,7 +434,7 @@ const nodes = ref([ id: '1', label: 'Input Node', type: 'input', - sourceHandle: Position.Bottom, // or Top, Left, Right, + sourcePosition: Position.Bottom, // or Top, Left, Right, } ]) ``` @@ -459,7 +459,7 @@ const nodes = ref([ id: '1', label: 'Output Node', type: 'output', - targetHandle: Position.Top, // or Bottom, Left, Right, + targetPosition: Position.Top, // or Bottom, Left, Right, } ]) ```