Class: Interaction
import Interaction from 'ol/interaction/Interaction'; Abstract base class; normally only used for creating subclasses and not instantiated in apps. User actions that change the state of the map. Some are similar to controls, but are not associated with a DOM element. For example, module:ol/interaction/KeyboardZoom~KeyboardZoom is functionally the same asmodule:ol/control/Zoom~Zoom , but triggered by a keyboard event not a button element event.
https://openlayers.org/en/latest/apidoc/module-ol_interaction_Interaction-Interaction.html