# Module: ol/events

This documentation is for OpenLayers v10.9.0. The latest is v.

## ol/events

    import * as olEvents from 'ol/events';

### Type Definitions

#### EventsKey{Object}

  Key to use with `unByKey`.

  ##### Properties:

  Name | Type | Description
  --- | --- | ---
  `listener` | ListenerFunction | Listener.
  `target` | EventTargetLike | Target.
  `type` | string | Type.

#### Listener{ListenerFunction} {ListenerObject}

#### ListenerFunction()

events.js, line 15

  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
  --- | --- | ---
  `handleEvent` | ListenerFunction | HandleEvent listener function.