Module: ol/events

ol/events


import * as olEvents from 'ol/events';

Type Definitions

EventsKey{Object}

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

Properties:
Name Type Description
listener module:ol/events~ListenerFunction
target module:ol/events/Target~EventTargetLike
type string

ListenerFunction()

events.js, line 17

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