App class
Signature:
export class App
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
fileManager | FileManager | ||
keymap | Keymap | ||
lastEvent | UserEvent | null | The last known user interaction event, to help commands find out what modifier keys are pressed. | |
metadataCache | MetadataCache | ||
scope | Scope | ||
vault | Vault | ||
workspace | Workspace |
Methods
Method | Modifiers | Description |
---|---|---|
loadLocalStorage(key) | Retrieve value from localStorage for this vault. | |
saveLocalStorage(key, data) | Save vault-specific value to localStorage . If data is null , the entry will be cleared. |