Skip to content

CanvasPluginInstance.onRename method

CanvasPluginInstance › onRename

Unofficial

Handles renaming of a canvas file.

Signature:

onRename(file: TAbstractFile, oldPath: string): void

Parameters:

Parameter Type Description
file TAbstractFile The renamed file.
oldPath string The previous path of the file.

Returns: void