Skip to content

Function: hover() ​

ts
function hover(el, target): void;

Show hover labels and emit hover programmatically (Plotly Fx.hover): points by trace and index, or a position in data units. See Chart.hover.

Parameters ​

ParameterType
elHTMLElement
target| readonly object[] | { subplot?: string; xval?: unknown; yval?: unknown; }

Returns ​

void

Released under the MIT License.