docs: update info on dynamic handles

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-01-05 14:01:40 +01:00
parent 09aa4ee7b6
commit 20dc364360

View File

@@ -425,6 +425,14 @@ By adding this class you can also enable scrolling inside a node.
## Dynamic handle positions / Adding handles dynamically
::: info
When using Vue Flow 1.x you don't need to call `updateNodeInternals` when adding handles dynamically.
Handles will try to be added to the node automatically when they are mounted.
If this does not work for you, for whatever reason, you can still follow the guide below and force Vue Flow to update
the node internals.
:::
When working with dynamic handle positions or adding handles dynamically, you need to use
the [`updateNodeInternals`](/typedocs/types/UpdateNodeInternals) method.