Skip to content

App.getAppTitle method

App › getAppTitle

Unofficial

Get the current title of the application.

Signature:

getAppTitle(title?: string | undefined): string

Parameters:

ParameterTypeDescription
title?string | undefinedOptional 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.