@jsvision/core / WheelEvent
Interface: WheelEvent
Defined in: input/events.ts:57
A wheel/scroll report. A wheel report is never delivered as a MouseEvent.
The shift/alt/ctrl flags report the modifiers held during the scroll. They let you distinguish, e.g., a plain vertical wheel from a Shift+wheel (a common horizontal-scroll fallback on terminals that do not send dedicated left/right wheel reports).
Properties
alt
readonlyalt:boolean
Defined in: input/events.ts:65
Meta/Alt held during the wheel report.
ctrl
readonlyctrl:boolean
Defined in: input/events.ts:67
Ctrl held during the wheel report.
dir
readonlydir:"down"|"up"|"left"|"right"
Defined in: input/events.ts:59
shift
readonlyshift:boolean
Defined in: input/events.ts:63
Shift held during the wheel report.
type
readonlytype:"wheel"
Defined in: input/events.ts:58
x
readonlyx:number
Defined in: input/events.ts:60
y
readonlyy:number
Defined in: input/events.ts:61