Skip to content

WidgetEditorView.loadFileInternal method

WidgetEditorView › loadFileInternal

Unofficial

Load file and check if data is different from last saved data, then loads contents.

Signature:

loadFileInternal(data: string, cache?: CachedMetadata | undefined): void

Parameters:

ParameterTypeDescription
datastringFile contents.
cache?CachedMetadata | undefinedCached metadata for the file.

Returns: void