Skip to content

CanvasPluginInstance.onRename method

CanvasPluginInstance › onRename

Unofficial

Handles renaming of a canvas file.

Signature:

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

Parameters:

ParameterTypeDescription
fileTAbstractFileThe renamed file.
oldPathstringThe previous path of the file.

Returns: void