# Events

The KendoReact Sankey diagram emits several events that you can handle. This allows you to tailor the Sankey's behavior to your specific requirements.

* [`onNodeEnter`](https://www.telerik.com/kendo-react-ui-develop/components/charts/api/sankeyprops#onnodeenter)—The event fires when the user enters a node.
* [`onNodeLeave`](https://www.telerik.com/kendo-react-ui-develop/components/charts/api/sankeyprops#onnodeleave)—The event fires when the user leaves a node.
* [`onLinkEnter`](https://www.telerik.com/kendo-react-ui-develop/components/charts/api/sankeyprops#onlinkenter)—The event fires when the user enters a link.
* [`onLinkLeave`](https://www.telerik.com/kendo-react-ui-develop/components/charts/api/sankeyprops#onlinkleave)—The event fires when the user leaves a link.
* [`onNodeClick`](https://www.telerik.com/kendo-react-ui-develop/components/charts/api/sankeyprops#onnodeclick)—The event fires when the user clicks a node.
* [`onLinkClick`](https://www.telerik.com/kendo-react-ui-develop/components/charts/api/sankeyprops#onlinkclick)—The event fires when the user clicks a link.

The following example demonstrates the above events. Test them by entering and leaving the nodes and links with your mouse or with a touch screen input.

[Demo Source](https://demos.telerik.com/kendo-react-ui/charts/sankey/events/source.txt)

## Suggested Links

* [API Reference of the Charts](https://www.telerik.com/kendo-react-ui-develop/components/charts/api)
* [API Reference of the Sankey chart](https://www.telerik.com/kendo-react-ui-develop/components/charts/api/sankeyprops)
