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"