Skip to Content
📣 We just released Svelte Flow 1.0 Alpha — try it out and give us your feedback!
ReferenceHooksuseNodesInitialized()

useNodesInitialized()

Source on GitHub 

This hook can be used to check if all nodes are initialized. It returns a signal with a boolean.

<script lang="ts"> import { useNodesInitialized } from '@xyflow/svelte'; const useNodesInitialized = useNodesInitialized(); </script>

Signature

Parameters:

This function does not accept any parameters.

Returns:

A boolean that indicates if nodes are initialized

NameType
currentboolean
Last updated on