Anniversary Sale · up to 80% off all librariesEnds Nov 9Shop now
SOFTTDocs
Features

Custom Title

Replace the default dashboard title shown in the browser tab with setTitle() in ESP-DASH Pro.

ESP-DASH Pro feature. This functionality is available only in the commercial edition of ESP-DASH.

setTitle() replaces the default dashboard title, which the browser displays in the tab and window title bar.

Custom dashboard title in a browser tab

Method

void setTitle(const char* title);

Prop

Type

If setTitle() is not called, the dashboard title is DASH Pro.

Usage

Call setTitle() on the ESPDash instance, typically in setup():

dashboard.setTitle("Greenhouse Controller");

The title is sent to the browser together with the full dashboard layout. If you change it after clients have connected, it takes effect when the page is reloaded or when you call dashboard.refreshLayout().

On this page