Search
TreeView.loadedItems Property
See Also
 






Gets the collection of loaded items as a flat list.

Namespace: MindFusion.Common.UI
File: TreeView.js

 Syntax

JavaScript  Copy Code

get loadedItems() {}

 Property Value

A List instance with the loaded items.

 Example

The following code uses the loadedItems property of the TreeView class to search for an item that is called span:

JavaScript  Copy Code
var treeNode = treeView.loadedItems.where(function (item) { if (item == span) return true; }).first();

 See Also