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

events/Event.js, line 46

Stop event propagation.

stopPropagation() inherited

events/Event.js, line 53

Stop event propagation.

Events

add

CollectionEventType.js, line 9

Triggered when an item is added to the collection.

change inherited

events/EventType.js, line 10

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

remove

CollectionEventType.js, line 15

Triggered when an item is removed from the collection.