pub type ScrollWheelEvent = ScrollEvent;👎Deprecated:
use ScrollEvent instead
Expand description
Compatibility alias for the pre-0.12 GPUI scroll event name.
Aliased Type§
pub struct ScrollWheelEvent {
pub position: Point<Pixels>,
pub delta: ScrollDelta,
pub modifiers: Modifiers,
pub touch_phase: TouchPhase,
}Fields§
§position: Point<Pixels>The position of the mouse on the window.
delta: ScrollDeltaThe change in scroll wheel position for this event.
modifiers: ModifiersThe modifiers that were held down when the mouse was moved.
touch_phase: TouchPhaseThe phase of the touch event.