Skip to content

on_hover: pass MouseEvent to the user #988

Closed
@CalvinFernandez

Description

@CalvinFernandez

Currently, Plotly doesn't pass the raw MouseEvent to the user. I'd like to use clientX and clientY to determine the location of the user's cursor at the time the hover event was fired to render a custom tooltip.

would like to augment the hover event, something like on_hover: (data, event)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions