setDocumentTitle
Home > @gooddata/sdk-ui-pluggable-application > IPluggableAppEventsContextValue > setDocumentTitle
IPluggableAppEventsContextValue.setDocumentTitle property
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.
Sets the page-title segment of the browser tab title on the host.
Signature:
setDocumentTitle: (pageTitle: string | undefined) => void;
Remarks
Emits a standard document-title-changed event on the host event channel. The host owns document.title and composes it as "{pageTitle} - {brand}". Pass undefined to fall back to the application's manifest title. No-ops when the application runs standalone (outside the host).