Skip to content

HoverOptions

Defined in: map/highlight.ts:29

Hover styling (#162), symmetric with SelectionOptions: hovered = how the hovered item looks (a HighlightStyle redraw / custom draw fn on Scene layers; on instanced lanes the ring uses its stroke), others = fade the non-hovered glyphs — the hover analogue of selection.others, opt-in. The layer hover option accepts either this object OR a bare HoverOption (the flat forms: true / a style / a draw fn) for the common “just style the hovered item” case.

F = unknown

optional hovered?: HighlightStyle | HighlightDraw<F>

Defined in: map/highlight.ts:30


optional others?: StyleOverride

Defined in: map/highlight.ts:31