close
Skip to Content
React Flow Pro is now integrated into reactflow.dev! Read more here →
ReferenceTypes

EdgeMouseHandler

Source on GitHub 

The EdgeMouseHandler type defines the callback function that is called when mouse events occur on an edge. This callback receives the event and the edge that triggered it.

type EdgeMouseHandler = (event: React.MouseEvent, edge: Edge) => void;
Parameters:
NameTypeDefault
eventMouseEvent<Element, MouseEvent>
edgeEdgeType
Returns:
void
Last updated on