removeFromBrowserTitleQueue() for Lightning Experience
Removes a string from a list of titles that rotate in the browser title bar every
three seconds. This method works only in
Lightning console apps.
This method isn’t supported for Lightning Web Components
(LWC).
Arguments
| Name | Type | Description |
|---|---|---|
| title | string | The browser tab title to remove. |
Sample Code
This component has a button that, when pressed, removes a string from a list of titles that rotate in the browser title bar every three seconds.
Component code:
Controller code:
Response
This method returns a promise that, open success, resolves
to true.