expandAll([index])

Class: Tree.

Description:

Expands all items or a specified item and all if its children. If argument is not supplied, root is used by default.

Parameters:

Name Type Description

[index]

Array.<number>

Item which to expand with all children items. If omitted, all items will be expended.

Returns:

Returns this Tree component for method chaining.

Type: Tree