There was an error while loading. Please reload this page.
1 parent 6b7799d commit 135a45dCopy full SHA for 135a45d
1 file changed
src/types/core/events.d.ts
@@ -104,6 +104,9 @@ export interface PlotMouseEvent {
104
points: PlotDatum[];
105
/** The original DOM mouse event. */
106
event: MouseEvent;
107
+ /** x and y pixel position of the mouse */
108
+ xPixel: number;
109
+ yPixel: number;
110
}
111
112
/** Payload for `plotly_hover` — augments `PlotMouseEvent` with axis values. */
0 commit comments