GoodData.UI API reference
  • All Products
  • All Products
  • GoodData.UI
  • API Reference
  • University
  • Community
  • Documentation
  • Support
  • 11.27.0
  • Code samples
  • GitHub

updatePathname()

Home > @gooddata/sdk-pluggable-application-model > IShellUiMountHandle > updatePathname

IShellUiMountHandle.updatePathname() method

This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Pushes the current pathname into the shell UI.

Signature:

updatePathname?(pathname: string): void;

Parameters

Parameter

Type

Description

pathname

string

Returns:

void

Remarks

Called by the host whenever the URL changes (e.g. after navigation or popstate). The shell UI uses this to update the active state of navigation items.

  • IShellUiMountHandle.updatePathname() method
  • Parameters
  • Remarks
GoodData resources:
  • Documentation
Follow the community:
  • Community
Copyright © 2007–2026 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