CanvasDataManager
Unofficial
Manages saving, loading, and maintaining canvas local data on disk.
Import:
import type { CanvasDataManager } from '@obsidian-typings/obsidian-public-latest';Signature:
export interface CanvasDataManagerProperties
| Property | Type | Description | |
|---|---|---|---|
| app | App | Reference to the Obsidian app instance. |
Methods
| Method | Returns | Description | |
|---|---|---|---|
| handleDelete(arg1) | unknown | Handle a file deletion event and remove associated canvas data. | |
| handleRename(arg1, arg2) | unknown | Handle a file rename event and update associated canvas data paths. | |
| load(arg1) | unknown | Load canvas data for the specified file. | |
| remove(arg1) | unknown | Remove stored canvas data for the specified file. | |
| save(arg1, arg2) | unknown | Save canvas data for the specified file. |
Links to this page: