Gets the action that caused the event.
Namespace: MindFusion.Mapping
Package: Events.js
JavaScript Copy Code |
---|
Object.defineProperty(NotifyCollectionChangingEventArgs.prototype, "action", { value: NotifyCollectionChangedAction }); |
NotifyCollectionChangedAction. The action that caused the event.
The following code handles the collectionChanging event of the decorations property of a DecorationLayer object.
JavaScript Copy Code |
---|
var m = MindFusion.Mapping; var markers = new m.DecorationLayer("Images"); ................... markers.decorations.collectionChanging.addEventListener(handleCollectionChanging);
|