Class: ObjectEvent

ol/Object.ObjectEvent


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

Extends

Members

key{string}

The name of the property whose value is changing.

oldValue{*}

The old value. To get the new value use e.target.get(e.key) where e is the event object.

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 54

Stop event propagation.

Events

change inherited

events/EventType.js, line 10

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

error inherited

events/EventType.js, line 17

Generic error event. Triggered when an error occurs.

propertychange

ObjectEventType.js, line 9

Triggered when a property is changed.