Class: Event

ol/events/Event~Event


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/EventTarget~EventTarget.

Members

target{Object}

The event target.

type{string}

The event type.

Methods

preventDefault()

events/Event.js, line 47

Stop event propagation.

stopPropagation()

events/Event.js, line 56

Stop event propagation.

Events

change

events/EventType.js, line 10

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