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.

Type: Array.<object>