GoodData.UI API reference
  • GoodData.UI
  • Docs & APIs
  • Developers
  • GoodData.CN
  • GoodData.UI
  • Docs & APIs
  • Get GoodData.CN Community Edition
  • 10.26.0
  • Code samples
  • Gallery
  • GitHub

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.

  • IDashboardLoadOptions.loadingMode property
  • Remarks
GoodData resources:
  • Documentation
Follow the community:
  • Community
Copyright © 2007–2025 GoodData Corporation. All Rights Reserved. Code licensed under a dual license - CC BY‑NC 4.0 for trial experience and GoodData.UI EULA for commercial use