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:

Parameter Type Description
data string File contents.
cache? CachedMetadata | undefined Cached metadata for the file.

Returns: void