ol/Collection.CollectionEvent
Events emitted by Collection instances are instances of this type.
Extends
Members
-
element{T}
-
The element that is added to or removed from the collection.
-
index{number}
-
The index of the added or removed element.
-
target{Object}
-
The event target.
-
type{string}
-
The event type.
Methods
-
preventDefault() inherited
-
Prevent default. This means that no emulated
click,singleclickordoubleclickevents will be fired. -
stopPropagation() inherited
-
Stop event propagation.
Events
© 2005-present, OpenLayers Contributors All rights reserved.Licensed under the BSD 2-Clause License.
https://openlayers.org/en/latest/apidoc/module-ol_Collection.CollectionEvent.html