DataHandler
A handler for loading and saving data to the plugin’s data file.
Import:
import type { DataHandler } from 'obsidian-dev-utils/obsidian/data-handler';Signature:
export interface DataHandlerMethods
| Method | Returns | Description |
|---|---|---|
| loadData() | Promise<unknown> | A function to load data from the plugin's data file. |
| saveData(data) | Promise<void> | A function to save data to the plugin's data file. |
Links to this page: