initializePlugins()
Home > @gooddata/sdk-ui-dashboard > IDashboardEngine > initializePlugins
IDashboardEngine.initializePlugins() method
Drives initialization of loaded dashboard plugins and their registration logic.
Signature:
initializePlugins(ctx: DashboardContext, plugins: IDashboardPluginContract_V1[]): IDashboardExtensionProps;
Parameters
Parameter | Type | Description |
---|---|---|
ctx | DashboardContext | dashboard context in which the plugins operate |
plugins | IDashboardPluginContract_V1[] | plugins to initialize |
Returns:
Remarks
During registration, the plugins register their customizations, contributions and event handlers.
The plugin' contributions will be used to construct the dashboard extension props which can then be used as input to the dashboard component itself and thus achieve the integration of the plugins into the dashboard.