Home > @xoram/plugin-panoramique > PanoramiqueStore > register
PanoramiqueStore.register() method
Register a new harness in the store for use somewhere else in the application.
Signature:
typescript
register<component extends Component, id extends string = string>(definition: ComponentDefinition<component, id>): ComponentHarness<component, id>;1
Parameters
Parameter | Type | Description |
|---|---|---|
definition | ComponentDefinition<component, id> | a description of the harness to be added |
Returns:
ComponentHarness<component, id>
the reactive harness you can interact with