InteractionRuntime
Defined in: packages/core/src/interactions/types.ts:181
The live half of an interaction, owning whatever state it needs.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
TConfig | unknown |
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
clearLayer? | (layerId, map) => void | Release 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 |