@jsvision/core / WheelEvent
Interface: WheelEvent
Defined in: input/events.ts:41
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:49
Meta/Alt held during the wheel report.
ctrl
readonlyctrl:boolean
Defined in: input/events.ts:51
Ctrl held during the wheel report.
dir
readonlydir:"down"|"up"|"left"|"right"
Defined in: input/events.ts:43
shift
readonlyshift:boolean
Defined in: input/events.ts:47
Shift held during the wheel report.
type
readonlytype:"wheel"
Defined in: input/events.ts:42
x
readonlyx:number
Defined in: input/events.ts:44
y
readonlyy:number
Defined in: input/events.ts:45