Skip to content

FileExplorerView.onCreateNewNoteClick method

FileExplorerView › onCreateNewNoteClick

Unofficial

Is called when on the new note icon is clicked. Call createAbstractFile().

Signature:

onCreateNewNoteClick(event: MouseEvent): Promise<void>

Parameters:

Parameter Type Description
event MouseEvent The MouseEvent which triggered this function.

Returns: Promise<void>A promise that resolves when the note is created.