Gets the index where the change occurred.
Namespace: MindFusion.Mapping
Package: Events.js
JavaScript Copy Code |
---|
Object.defineProperty(NotifyCollectionChangedEventArgs.prototype, "index", { value: Number }); |
Number. The index.
The following code handles the collectionChanged event of the decorations property of a DecorationLayer object.
JavaScript Copy Code |
---|
var m = MindFusion.Mapping; var markers = new m.DecorationLayer("Images"); ................... markers.decorations.collectionChanged.addEventListener(handleCollectionChanged);
|