Skip to content

TextFileView.onModify method

TextFileView › onModify

Unofficial

Is called when the vault has a 'modify' event. Reloads the file if the view is currently not saving the file and the modified file is the file in this view.

Signature:

onModify(file: TFile): void

Parameters:

Parameter Type Description
file TFile The modified file.

Returns: void