Class: CollectionEvent

ol. CollectionEvent

Name Type Argument Description
type ol.CollectionEventType

Type.

element * <optional>
optional

Element.

target Object <optional>
optional

Target.

Extends

Members

experimental element*

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

Events

experimental add

Triggered when an item is added to the collection.

experimental remove

Triggered when an item is removed from the collection.