Back to Trilium

Interface NodePatch

docs/Script API/interfaces/Frontend_Script_API._internal_.NodePatch.html

0.102.21.4 KB
Original Source

Interface NodePatch

Data object similar to NodeData, but with additional options. May be passed to FancytreeNode#applyPatch (Every property that is omitted (or set to undefined) will be ignored)

interface NodePatch {
appendChildren?: NodeData;
insertChildren?: NodeData;
replaceChildren?: NodeData;
}

Index

Properties

appendChildren?insertChildren?replaceChildren?

Properties

OptionalappendChildren

appendChildren?: NodeData

(not yet implemented)

OptionalinsertChildren

insertChildren?: NodeData

(not yet implemented)

OptionalreplaceChildren

replaceChildren?: NodeData

(not yet implemented)

Settings

Member Visibility

  • Protected
  • Inherited
  • External

ThemeOSLightDark

On This Page

Properties appendChildreninsertChildrenreplaceChildren