ol/events
import * as olEvents from 'ol/events';
Type Definitions
-
EventsKey{Object}
-
Key to use with
unByKey.Properties:
Name Type Description listenerListenerFunction Listener.
targetEventTargetLike Target.
typestring Type.
-
Listener{ListenerFunction} {ListenerObject}
-
Listener function. This function is called with an event object as argument. When the function returns
false, event propagation will stop. -
ListenerObject{Object}
-
Properties:
Name Type Description handleEventListenerFunction HandleEvent listener function.
© 2005-present, OpenLayers Contributors All rights reserved.Licensed under the BSD 2-Clause License.
https://openlayers.org/en/latest/apidoc/module-ol_events.html