toggle

opens/closes a tree item by id

void toggle(string id);

Parameters

idstringthe id of a tree item to toggle

Example

tree.toggle("history");

Related samples

See also
Back to top