FileView › loadFile
Unofficial
Loads the file with the onLoadFile function.
Signature:
loadFile(file: TFile): Promise<unknown>
Parameters:
| Parameter | Type | Description |
| file | TFile | The file to load. |
Returns: Promise<unknown> — A promise that resolves when the file is loaded.