Skip to content

CanvasDataManager

Unofficial

Manages saving, loading, and maintaining canvas local data on disk.

Import:

import type { CanvasDataManager } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface CanvasDataManager

Properties

PropertyTypeDescription
appAppReference to the Obsidian app instance.

Methods

MethodReturnsDescription
handleDelete(arg1)unknownHandle a file deletion event and remove associated canvas data.
handleRename(arg1, arg2)unknownHandle a file rename event and update associated canvas data paths.
load(arg1)unknownLoad canvas data for the specified file.
remove(arg1)unknownRemove stored canvas data for the specified file.
save(arg1, arg2)unknownSave canvas data for the specified file.

Links to this page: