Home > @xoram/plugin-panoramique > PanoramiqueStore
PanoramiqueStore interface
Store a collection `ComponentHarness` to build dynamically structured UI in a Vue application.
Signature:
export interface PanoramiqueStore
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
(parent: string, child: string, slotName?: string, index?: number) => void | Safely add a child to a registered harness. Will safely abort if the parent hasn't been registered yet. | ||
<component extends Component = Component, id extends string = string>(id: id) => ComputedRef<ComponentHarness<component, id> | undefined> | Find a registered harness | ||
(id: string) => void | Safely removes a harness from the store. | ||
(parent: string, child: string, slotName?: string) => void | Remove a previously added child from its parent. This will not remove the child's harness from the store, simply sever the link between the two components. |
Methods
Method | Description |
---|---|
Register a new harness in the store for use somewhere else in the application. |