MindFusion.Charting for JavaScript Programmer's Guide
NotifyCollectionChangingEventArgs.newItems Property
See Also
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: None Language Filter: C# Language Filter: Visual Basic Language Filter: Java Language Filter: JavaScript Language Filter: C++ Language Filter: XAML

C#
Visual Basic
Java
JavaScript
C++
XAML

Gets the list of new items involved in the change.

Namespace: MindFusion.Common
File: Events.js

## Syntax

JavaScript Copy Code
get newItems() {}

### Property Value

Type: Array
Array. The list of involved items.

## Example

The following code handles the collectionChanging event of the decorations property of a DecorationLayer object in a map.

JavaScript Copy Code
var m = MindFusion.Mapping; var markers = new m.DecorationLayer("Images"); ................... //add some Marker-s to the decorations property ...................... markers.decorations.collectionChanging.addEventListener(handleCollectionChanging); function (handleCollectionChanging) (sender, args ) { if(args.newItems.contains(marker1)) { //do something } }

## See Also

NotifyCollectionChangingEventArgs Members
NotifyCollectionChangingEventArgs Class
MindFusion.Common Namespace