HTML DOM WheelEvent
كائن WheelEvent
الأحداث التي تحدث أثناء تمرير عجلة الماوس ، تنتمي إلى كائن WheelEvent.
خصائص WheelEvent وطرقها
Property/Method | Description |
---|---|
deltaX | Returns the horizontal scroll amount of a mouse wheel (x-axis) |
deltaY | Returns the vertical scroll amount of a mouse wheel (y-axis) |
deltaZ | Returns the scroll amount of a mouse wheel for the z-axis |
deltaMode | Returns a number that represents the unit of measurements for delta values (pixels, lines or pages) |
الخصائص والطرق الموروثة
يرث WheelEvent جميع الخصائص والأساليب من:
أنواع الأحداث
تنتمي أنواع الأحداث هذه إلى كائن WheelEvent:
Event | Description |
---|---|
onwheel | The event occurs when the mouse wheel rolls up or down over an element |