Module: ol/events

ol/events


Type Definitions

EventsKey{Object}

Key to use with module:ol/Observable~Observable#unByKey.

Properties:
Name Type Argument Description
bindTo Object <optional>
boundListener module:ol/events~ListenerFunction <optional>
callOnce boolean
deleteIndex number <optional>
listener module:ol/events~ListenerFunction
target module:ol/events/Target~EventTargetLike
type string

ListenerFunction()

events.js, line 21

Listener function. This function is called with an event object as argument. When the function returns false, event propagation will stop.