Interface AddChildrenOptions

Possible values for WunderbaumNode.addChildren.

interface AddChildrenOptions {
    _level?: number;
    applyMinExpanLevel?: boolean;
    before?: null | number | WunderbaumNode;
}

Properties

_level?: number

(@internal Internal use, do not set! )

applyMinExpanLevel?: boolean

Set node.expanded = true according to tree.options.minExpandLevel. This does not load lazy nodes.

Default

true
before?: null | number | WunderbaumNode

Insert children before this node (or index)

Default

undefined or null:  append as last child