Skip to content

CanvasViewCanvasNodeBase

Unofficial

Base interface for canvas nodes, providing core editing and interaction methods.

Import:

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

Signature:

export interface CanvasViewCanvasNodeBase extends CanvasViewCanvasNodeBaseBase

Extends: CanvasViewCanvasNodeBaseBase

Methods

MethodReturnsDescription
attach()unknownAttach the node to the canvas DOM.
(Inherited from CanvasViewCanvasNodeBaseBase)
blur()unknownRemove focus from the node.
destroy()unknownDestroy the node and release its resources.
detach()unknownDetach the node from the canvas DOM.
(Inherited from CanvasViewCanvasNodeBaseBase)
focus()unknownSet focus on the node.
initialize()unknownInitialize the node after construction.
isEditable()unknownCheck whether this node supports editing.
mountContent()unknownMount the node's content into the content container.
(Inherited from CanvasViewCanvasNodeBaseBase)
moveAndResize(arg1)unknownMove and resize the node to the specified bounds.
onClick(arg1)unknownHandle click events on the node.
onResizeDblclick(arg1, arg2)unknownHandle double-click on a resize handle to auto-size the node.
preDetach()unknownPerform cleanup before detaching the node.
(Inherited from CanvasViewCanvasNodeBaseBase)
render()unknownRender the node to the canvas.
startEditing(arg1?)unknownEnter editing mode for the node's content.
unloadChild()unknownUnload the child editor view.
unmountContent()unknownUnmount the node's content from the content container.
(Inherited from CanvasViewCanvasNodeBaseBase)
updateBreakpoint(arg1)unknownUpdate the rendering breakpoint based on the node's current size.
(Inherited from CanvasViewCanvasNodeBaseBase)

Links to this page: