Clears the collection.
Namespace: MindFusion.Common.Collections
File: IEnumerable.js
SyntaxJavaScript
Copy Code
|
|---|
function clear () |
ExampleThe following example clears all items from a TreeNode element. The items property of TreeNode is of type IEnumerable.
JavaScript
Copy Code
|
|---|
| rootElement.items.clear(); |
See Also