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

    Interface TreeWalkerOptions<NodeType>

    Options to configure TreeWalker

    interface TreeWalkerOptions<NodeType extends Node> {
        root?: NodeType;
        visitor?: Partial<Visitor<NodeType>>;
        visitRoot?: boolean;
    }

    Type Parameters

    • NodeType extends Node
    Index

    Properties

    root?: NodeType

    The node where to start walking the tree.

    visitor?: Partial<Visitor<NodeType>>

    The visitor doing some work on a visited node.

    visitRoot?: boolean

    Indicates if the root node shall be visited or not.