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

onPluginUnload()

Home > @gooddata/sdk-ui-dashboard > IDashboardPluginContract_V1 > onPluginUnload

IDashboardPluginContract_V1.onPluginUnload() method

This function will be called when user navigates away from the dashboard that uses an instance of this plugin.

Signature:

onPluginUnload?(ctx: DashboardContext): Promise<void> | void;

Parameters

ParameterTypeDescription
ctxDashboardContextdashboard context into which this plugin was loaded

Returns:

Promise<void> | void

Remarks

At this point, the plugin SHOULD perform any essential cleanup.

  • IDashboardPluginContract_V1.onPluginUnload() method
  • Parameters
  • 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