Skip to content

InteractionRuntime

Defined in: packages/core/src/interactions/types.ts:181

The live half of an interaction, owning whatever state it needs.

Type ParameterDefault type
TConfigunknown
PropertyTypeDescriptionDefined in
clearLayer?(layerId, map) => voidRelease state held for one layer. Called on mouseleave, detachEvents, and destroy — anywhere the tracked feature may no longer be valid.packages/core/src/interactions/types.ts:187
run(config, ctx) => void-packages/core/src/interactions/types.ts:182