setPageTitle

Sets the title of the current dashboard page in the browser tab.

について setPageTitle() function supports dashboard page extensions only. It does not support dashboard plugin extensions.

Call the setPageTitle() function whenever the page reloads, or to apply a new title when updating a page's content dynamically, without reloading.

Set the page title to null to reset the title to the default dashboard page title.

署名

コピー
1

Parameters

名称タイプ説明
pageTitleストリング または nullPage title to set.

リターン

void

To set up a dashboard client, refer to the setup guide.

Set a page title

コピー
1

Set page title to a product ID

This code is for a page that includes a product ID in the URL's query params.

コピー
1
役に立ちましたか?
はい
いいえ