Home > @xoram/plugin-panoramique > ComponentDefinitionHelpers > slot
ComponentDefinitionHelpers.slot property
Insert a child in one of the component's slots.
Signature:
typescript
slot: (this: void, childId: string, slotName?: keyof RemoveIndex<ComponentSlots<component>> & string, index?: number) => void;
1