Gets the collection as an array.
Namespace: MindFusion.Common.Collections
File: IEnumerable.js
SyntaxJavaScript
Copy Code
|
|---|
function items () |
Type: Array
Array. The underlying array data structure of the collection.
ExampleThe 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) |
See Also