Examples
Interaction
Validation

Validation

For validating new connections between nodes, you can use the isValidConnection prop as shown in this example.

<script lang="ts">
const data: string = "world";
</script>

<h1>Hello {data}</h1>

<style>
h1 {
  font-size: 1.5rem;
}
</style>
Read-only