Trevixal API
    Preparing search index...

    Interface NodeViewInstance

    A custom renderer for one node type. dom is the node's element; children render into contentDOM when given, otherwise the node is an opaque widget the editor never edits inside. update patches in place for a changed node of the same type, return false to force a rebuild.

    interface NodeViewInstance {
        contentDOM?: HTMLElement;
        dom: HTMLElement;
        destroy?(): void;
        update?(node: EditorNode): boolean;
    }
    Index
    contentDOM?: HTMLElement
    dom: HTMLElement
    • Returns void

    • Parameters

      Returns boolean