Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion types/index.esm.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1436,7 +1436,20 @@ export interface CoreChartOptions<TType extends ChartType> extends ParsingOption
* The events option defines the browser events that the chart should listen to for tooltips and hovering.
* @default ['mousemove', 'mouseout', 'click', 'touchstart', 'touchmove']
*/
events: ('mousemove' | 'mouseout' | 'click' | 'touchstart' | 'touchmove')[];
events: (
'mousemove' |
'mouseout' |
'click' |
'touchstart' |
'touchmove' |
'touchend' |
'pointerenter' |
'pointerdown' |
'pointermove' |
'pointerup' |
'pointerleave' |
'pointerout'
)[];

/**
* Called when any of the events fire. Passed the event, an array of active elements (bars, points, etc), and the chart.
Expand Down