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

Prevent default. This means that no emulated click, singleclick or doubleclick events will be fired.

stopPropagation() inherited

Stop event propagation.

Events

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

Generic error event. Triggered when an error occurs.

propertychange

Triggered when a property is changed.