Skip to content

EditableFileView.saveTitle method

EditableFileView › saveTitle

Unofficial

Updates the file to match the updated title.

Signature:

saveTitle(titleEl: HTMLElement): Promise<void>

Parameters:

ParameterTypeDescription
titleElHTMLElementThe current title element.

Returns: Promise<void>A promise that resolves when the title is saved.