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"