Skip to main content

Type Alias: EventType

EventType: "dateChange" | "firstDate" | "lastDate" | "play" | "pause"

Chart lifecycle event types.

  • 'dateChange' — fires when the displayed date changes
  • 'firstDate' — fires when the chart reaches the first date
  • 'lastDate' — fires when the chart reaches the last date
  • 'play' — fires when the chart starts running
  • 'pause' — fires when the chart is paused

See

https://racing-bars.hatemhosny.dev/documentation/events

Defined in

lib/events/models.ts:42