Skip to content

Binding

Represents a binding between an input property and a tool parameter.

---
title: Binding
config:
  look: handDrawn
  theme: colorful
  class:
    hideEmptyMembersBox: true
---
classDiagram
    class Binding {
      
        +string name
        +string input
    }
name: my-tool
input: input-variable
NameTypeDescription
namestringName of the binding
inputstringThe input property that will be bound to the tool parameter argument

The following alternate constructions are available for Binding. These allow for simplified creation of instances using a single property.

The following simplified representation can be used:

value: "example"

This is equivalent to the full representation:

value:
input: "example"