loadingMode
Home > @gooddata/sdk-ui-loaders > IDashboardLoadOptions > loadingMode
IDashboardLoadOptions.loadingMode property
Loading mode to use.
Signature:
loadingMode?: DashboardLoadingMode;
Remarks
staticOnly
mode
The loader expects that it is running inside an application that depends on the @gooddata/sdk-ui-dashboard
package. Furthermore the loader will initialize dashboard with only those plugins that are part of the application and passed via extraPlugins
property. Plugins that are linked with the dashboard will be ignored.
This mode is suitable during plugin development
adaptive
mode
In this mode, loader will first inspect the dashboard and then act based on the dashboard setup:
If the dashboard stored on the analytical backend is configured to use some plugins, the loader will dynamically load the dashboard engine required by those plugins and then dynamically load the plugins. It will then initialize the dashboard engine with the loaded plugins and any plugins that are passed via the
extraPlugins
property.If the dashboard is not configured to use any plugins, the loader will fall back to
staticOnly
behavior.
Default loadingMode is adaptive
.