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