Gets the list of the items affected by a Remove action.
Namespace: MindFusion.Common
File: Events.js
JavaScript Copy Code |
---|
get oldItems() {} |
Type: Array
Array. The list of affected items.
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);
|