updateDocumentTitle()
Home > @gooddata/sdk-pluggable-application-model > IHostUiMountHandle > updateDocumentTitle
IHostUiMountHandle.updateDocumentTitle() 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 active application's page-title segment into the host UI.
Signature:
updateDocumentTitle?(pageTitle: string | undefined): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
pageTitle |
string | undefined |
Returns:
void
Remarks
Called by the host whenever the active pluggable application sets a page title by emitting a document-title-changed event. The host UI composes the browser tab title as "{pageTitle} - {brand}". When called with undefined, the host UI falls back to the active application's manifest title.