findByText(text)

Class: Tree.

Description:

Finds items whose text property matches the argument. Returns an array of found items.

Parameters:

Name Type Description

text

string

Text to match when finding items.

Returns:

Returns an array of found items. Each found item will have an index property fo convenience.

Type: Array.<ListItem>