This is the documentation of version 0.61.0. Go to the latest version, 1.0.0-rc.5.
TomTom Maps for JavaScript
    Preparing search index...

    Type Alias EventState

    EventState: EventType | "recently-hovered"

    The state a feature carries in properties.eventState: the user event it is in, or recently-hovered for a moment after the pointer leaves it.

    recently-hovered lasts EventHandlerHoverConfig.hoverGracePeriodMS, then clears on its own unless the feature is hovered or clicked again first. The SDK's own layers draw it as no state; read it to keep something shown while the pointer travels, as the entry points of places do.