Gets the collection as an array.
Namespace: MindFusion.Common.Collections
File: IEnumerable.js
JavaScript Copy Code |
---|
function items () |
Type: Array
Array. The underlying array data structure of the collection.
The following code checks if the items of a ListView before the collection was changed are more than 5:
JavaScript Copy Code |
---|
function listSelectionChanged(sender, args) if( args.oldItems.items().count() > 5) |