Skip to main content

NodeInDocumentConstraint Interface

A transaction constraint which requires that the given node exists in the tree.

Signature

export interface NodeInDocumentConstraint

Remarks

The node must be in the document (its status must be InDocument) to qualify as "existing".

Properties

PropertyModifiersTypeDescription
nodereadonlyTreeNode
typereadonly"nodeInDocument"

Property Details

node

Signature

readonly node: TreeNode;

Type: TreeNode

type

Signature

readonly type: "nodeInDocument";

Type: "nodeInDocument"