Class: BaseEvent

ol/events/Event~BaseEvent


Stripped down implementation of the W3C DOM Level 2 Event interface. See https://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-interface.

This implementation only provides type and target properties, and stopPropagation and preventDefault methods. It is meant as base class for higher level events defined in the library, and works with module:ol/events/Target~Target.

Subclasses

Members

target{Object}

The event target.

type{string}

The event type.

Methods

preventDefault()

events/Event.js, line 46

Stop event propagation.

stopPropagation()

events/Event.js, line 54

Stop event propagation.

Events

change

events/EventType.js, line 10

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

error

events/EventType.js, line 17

Generic error event. Triggered when an error occurs.