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â
đˇī¸ 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â
đˇī¸ 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"