Skip to content

App.getAppTitle method

App › getAppTitle

Unofficial

Get the current title of the application.

Signature:

getAppTitle(title?: string): string

Parameters:

ParameterTypeDescription
title?stringOptional prefix to prepend to the app title (e.g. active file name).

Returns: string — The application title.

Remarks:

The title is based on the currently active leaf.