Class: CollectionEvent

ol/Collection.CollectionEvent


Events emitted by module:ol/Collection~Collection instances are instances of this type.

Extends

Members

element{*}

The element that is added to or removed from the collection.

target{Object}

The event target.

type{string}

The event type.

Methods

preventDefault() inherited

Stop event propagation.

stopPropagation() inherited

Stop event propagation.

Events

Triggered when an item is added to the collection.

Generic change event. Triggered when the revision counter is increased.

Triggered when an item is removed from the collection.