Skip to main content

ISlotIdentifier interface

📖 Description​

Describes the interface that holds a slot identifier generated by the populateSlots function.

📃 Type declaration​

interface ISlotIdentifier {
  type: "slot" | "pipe" | "group";Readonly
  block: NodeBlock;Readonly
  label: string;Readonly
  icon?: SVGImage | string;ReadonlyOptional
  id?: string;ReadonlyOptional
  reference?: string;ReadonlyOptional
  slot?: Slot;ReadonlyOptional
  slots?: ISlotIdentifier[];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 parent block that holds the slot.

Type​

NodeBlock


🏷ī¸ icon​

Icon for the slot.

Type​

SVGImage | string


🏷ī¸ id​

Identifier of the slot.

Type​

string


🏷ī¸ label​

Label for the slot.

Type​

string


🏷ī¸ reference​

Reference of the slot.

Type​

string


🏷ī¸ slot​

Reference to the slot instance.

Type​

Slot


🏷ī¸ slots​

Collection of slot identifiers used to when a slot identifier denotes a group of slots (type is set to group).

Type​

ISlotIdentifier[]


🏷ī¸ type​

Type of the identifier.

Type​

"slot" | "pipe" | "group"