Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/netzo/deps/@tiptap/react.ts>NodeView

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
class NodeView
Re-export
import { NodeView } from "https://deno.land/x/netzo@0.4.62/deps/@tiptap/react.ts";

Constructors

new
NodeView(
component: Component,
options?: Partial<Options>,
)

Type Parameters

Component
optional
NodeEditor extends CoreEditor = CoreEditor

Properties

component: Component
readonly
contentDOM: HTMLElement | null
decorations: DecorationWithType[]
readonly
dom: HTMLElement
editor: NodeEditor
extension: Node
getPos: any
isDragging: boolean
options: Options

Methods

deleteNode(): void
ignoreMutation(mutation: MutationRecord | { type: "selection"; target: Element; }): boolean
mount(): void
onDragStart(event: DragEvent): void
stopEvent(event: Event): boolean
updateAttributes(attributes: { }): void