Skip to content

WidgetEditorView.loadContents method

WidgetEditorView › loadContents

Unofficial

Splice incoming data at according to subpath for correct reference, then update heading and render.

Signature:

loadContents(data: string, cache: CachedMetadata): void

Parameters:

ParameterTypeDescription
datastringFile contents.
cacheCachedMetadataCached metadata for the file.

Returns: void