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): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| data | string | File contents. |
| cache | CachedMetadata | Cached metadata for the file. |
Returns: void