Skip to content

WidgetEditorView.onFileChanged method

WidgetEditorView › onFileChanged

Unofficial

Update representation on file finished updating.

Signature:

onFileChanged(file: TFile, data: string, cache: CachedMetadata): void

Parameters:

ParameterTypeDescription
fileTFileThe changed file.
datastringNew file contents.
cacheCachedMetadataUpdated cached metadata.

Returns: void