Skip to content

App.getAppTitle method

App › getAppTitle

Unofficial

Get the current title of the application.

Signature:

getAppTitle(title?: string | undefined): string

Parameters:

Parameter Type Description
title? string | undefined Optional prefix to prepend to the app title (e.g. active file name).

Returns: stringThe application title.

Remarks:

The title is based on the currently active leaf.