Skip to main content

IVariable interface

📖 Description​

Describes the interface that holds a variable in the builder.

📃 Type declaration​

interface IVariable {
  key: string;Readonly
  label: string;Readonly
  node: Node;Readonly
  block?: NodeBlock;ReadonlyOptional
  slot?: Slot;ReadonlyOptional
  pipe?: Slot;ReadonlyOptional
}
đŸ–ąī¸ Hover with the mouse over a property name for a tooltip with the description of that property. Click it for more information.

đŸ—ƒī¸ Properties​


đŸˇī¸ block​

Reference to the block.

Type​

NodeBlock


đŸˇī¸ key​

Contains the variable key.

Type​

string


đŸˇī¸ label​

Human readable label for the variable.

Type​

string


đŸˇī¸ node​

Reference to the node.

Type​

Node


đŸˇī¸ pipe​

Reference to the slot pipe (when the variable is a pipe).

Type​

Slot


đŸˇī¸ slot​

Reference to the slot.

Type​

Slot