Skip to main content

Interface: ContainerPartDefinition<ContentT, T>

Defined in: packages/core/src/partTypes.ts:45

Type Parameters​

ContentT​

ContentT extends ScenePart

T​

T extends ScenePart

Properties​

driver​

driver: typeof ContainerDriver | ((locator, interactor, option?) => ContainerDriver<ContentT, T>)

Defined in: packages/core/src/partTypes.ts:54

The class of driver which is used to interact with the element


locator​

locator: PartLocator

Defined in: packages/core/src/partTypes.ts:49

The locator of the part


option?​

optional option?: Partial<IContainerDriverOption<ContentT, T>>

Defined in: packages/core/src/partTypes.ts:66

Option for the driver. Optional, mirroring ComponentPartDefinition.option; a container with no extra content/parts can omit it.