Skip to content

CanvasPluginInstance

Extends

Properties

app

app: App


defaultOn

defaultOn: boolean


description

description: string

Inherited from

InternalPluginInstance.description


id

id: string

Inherited from

InternalPluginInstance.id


index

index: CanvasIndex


localDataManager

localDataManager: CanvasDataManager


name

name: string

Inherited from

InternalPluginInstance.name


options

options: object

cardLabelVisibility?

optional cardLabelVisibility: "always" | "hover" | "never"

defaultModDragBehavior?

optional defaultModDragBehavior: "menu" | "card" | "group" | "media" | "note" | "webpage"

defaultWheelBehavior?

optional defaultWheelBehavior: "pan" | "zoom"

newFileFolderPath?

optional newFileFolderPath: string

newFileLocation?

optional newFileLocation: "folder" | "root" | "current"

snapToGrid?

optional snapToGrid: boolean

snapToObjects?

optional snapToObjects: boolean

zoomBreakpoint?

optional zoomBreakpoint: number


plugin

plugin: CanvasPlugin


renameQueue

renameQueue: PromisedQueue


renames

renames: unknown[]


requestProcessRename

requestProcessRename: Debouncer<[], unknown>

Methods

init()

init(app, plugin): void

Parameters

app: App

plugin: CanvasPlugin

Returns

void

Inherited from

InternalPluginInstance.init