Home > @xoram/plugin-panoramique > register
register() function
Register a Vue Component in panoramique when the host plugin is created and de-register the component on tear down. Additionally, flag the host component as depending on panoramique's plugin.
Signature:
typescript
export declare function register<component extends Component>(definition: ComponentDefinition<component>): void;1
Parameters
Parameter | Type | Description |
|---|---|---|
definition | ComponentDefinition<component> | the component definition to register on plugin creation |
Returns:
void