map.apps Bundle APIs 4.20.0
    Preparing search index...

    Interface Context<NodeType>

    Current visitor context.

    interface Context<NodeType extends Node> {
        axis: NodeType[];
        parent?: NodeType;
    }

    Type Parameters

    • NodeType extends Node
    Index

    Properties

    Properties

    axis: NodeType[]

    Path of the current node (root is first item, and so on).

    parent?: NodeType

    The current node's parent, if any.