jax-js
    Preparing search index...

    Interface JsTreeDef

    Represents the structure of a JsTree.

    interface JsTreeDef {
        childTreedefs: JsTreeDef[];
        nodeMetadata: any;
        nodeType: NodeType;
        get size(): number;
        equals(other: JsTreeDef): boolean;
        toString(root?: boolean): string;
    }

    Properties

    childTreedefs: JsTreeDef[]
    nodeMetadata: any
    nodeType: NodeType

    Accessors

    • get size(): number

      Get the total number of leaves in the tree.

      Returns number

    Methods

    • Returns a string representation of this tree definition.

      Parameters

      • root: boolean = true

      Returns string