Skip to content

EditableFileView.saveTitle method

EditableFileView › saveTitle

Unofficial

Updates the file to match the updated title.

Signature:

saveTitle(titleEl: HTMLElement): Promise<void>

Parameters:

Parameter Type Description
titleEl HTMLElement The current title element.

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