MetadataTypeManager.onCacheChanged method
MetadataTypeManager › onCacheChanged
Unofficial
Handles the metadata cachechanged event: records the frontmatter properties of the changed note, inferring the widget of each property that has no assigned type.Signature:
onCacheChanged(file: TFile, data: string, cache: CachedMetadata): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| file | TFile | The changed file. |
| data | string | The file contents. |
| cache | CachedMetadata | The file's new metadata. |
Returns: void