Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.5.106/deps/@tiptap/react.ts";

Node views are used to customize the rendered DOM structure of a node.

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