Wocart

@wocart/theme v4.1.0


@wocart/theme / index / InstanceLocation

Interface: InstanceLocation

Where an instance is: its parent (null at the top level) and its slot and index there — or, for a fixed block, its owner and fixed, the name the owner's definition gives it (slot is then null).

Properties

depth

depth: number

Levels below the top-level sections (a section is at 0).


fixed?

optional fixed?: string


index

index: number


instance

instance: ComponentInstance


parent

parent: string


slot

slot: string