Gets the list of new items involved in the change.
Namespace: MindFusion.Common
File: Events.js
SyntaxJavaScript
Copy Code
|
|---|
get newItems() {} |
Type: Array
Array. The list of involved items.
ExampleThe 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"); ................... markers.decorations.collectionChanging.addEventListener(handleCollectionChanging);
|
See Also