NodeType: {
    HTMLclass: string;
    collapsable: boolean;
    drawLineThrough: boolean;
    link: {
        target: "_self";
    };
}

Type declaration

  • HTMLclass: string

    A string can be entered under HTMLclass. That class will be given to each node in the cart along with the default .node class.

  • collapsable: boolean

    A collapsable option enables the node to interactively collapse its children. A collapse switch is added to the node. (jQuery required)

  • drawLineThrough: boolean

    drawLineThrough accepts a boolean. If set to true, each node will have a connector line drawn through it.

  • link: {
        target: "_self";
    }

    If you are planning of making a lot of <a> nodes then here is the possibility to assign target="_blank" to each of those nodes in one blow.

    • target: "_self"

Generated using TypeDoc