एचटीएमएल डोम व्हीलइवेंट
व्हीलइवेंट ऑब्जेक्ट
घटनाएँ जो तब होती हैं जब माउस व्हील स्क्रॉल कर रहा होता है, वह 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 ऑब्जेक्ट से संबंधित हैं:
Event | Description |
---|---|
onwheel | The event occurs when the mouse wheel rolls up or down over an element |