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.