setPageTitle( )


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

This function can only be used in page code files for dashboard pages created in the Wix Editor or with Wix Blocks.

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.

Method Declaration
Copy
Method Parameters
pageTitlestringRequired

Page title to set in the browser tab.

Did this help?