DOMExportOutput
interfaceImport
import { DOMExportOutput } from '@modular/sdk/editor';Members4
- $getChildNodesoptional
() => Iterable<LexicalNode>If defined, will be used instead of `node.getChildren()` to determine which children to render for this LexicalNode.
- afteroptional
(generatedElement: HTMLElement | DocumentFragment | Text | null | undefined) => HTMLElement | DocumentFragment | Text | null | undefinedCalled after the node and all of its children are constructed, can be used to perform any in-place updates to the node or return something else entirely.
- appendoptional
(element: HTMLElement | DocumentFragment | Text) => voidAn optional override to change how and where DOM nodes for this ElementNode's children are appended, particularly useful if this node's children are not direct ancestors.
- element
HTMLElement | DocumentFragment | Text | nullA DOM node for this lexical node, or null to skip it