Skip to content

FileExplorerView.onDelete method

FileExplorerView › onDelete

Unofficial

Is called when a file in vault is deleted. Updates the file tree.

Signature:

onDelete(file: TAbstractFile): void

Parameters:

Parameter Type Description
file TAbstractFile The deleted file or folder.

Returns: void