• Skip to main content
  • Skip to search
  • Skip to select language
MDN Web Docs
  • References
    • Overview / Web Technology

      Web technology reference for developers

    • HTML

      Structure of content on the web

    • CSS

      Code used to describe document style

    • JavaScript

      General-purpose scripting language

    • HTTP

      Protocol for transmitting web resources

    • Web APIs

      Interfaces for building web applications

    • Web Extensions

      Developing extensions for web browsers

    • Accessibility

      Build web projects usable for all

    • Web Technology

      Web technology reference for developers

  • Learn
    • Overview / MDN Learning Area

      Learn web development

    • MDN Learning Area

      Learn web development

    • HTML

      Learn to structure web content with HTML

    • CSS

      Learn to style content using CSS

    • JavaScript

      Learn to run scripts in the browser

    • Accessibility

      Learn to make the web accessible to all

  • Plus
    • Overview

      A customized MDN experience

    • AI Help

      Get real-time assistance and support

    • Updates

      All browser compatibility updates at a glance

    • Documentation

      Learn how to use MDN Plus

    • FAQ

      Frequently asked questions about MDN Plus

  • Curriculum New
  • Blog
    • Playground

      Write, test and share your code

    • HTTP Observatory

      Scan a website for free

    • AI Help

      Get real-time assistance and support

  • Log in
  • Sign up for free
  1. Technologies web pour développeurs
  2. Les API Web
  3. Element
  4. Element.onwheel
    • English (US)
    • Deutsch
    • Español
    • 日本語
    • 中文 (简体)

Cette page a été traduite à partir de l'anglais par la communauté. Vous pouvez également contribuer en rejoignant la communauté francophone sur MDN Web Docs.

Dans cet article

  • Syntaxe
  • Spécifications
  • Compatibilité des navigateurs
  • Voir aussi
  1. Référence du DOM
  2. Element
  3. Propriétés d'instance
    1. ariaActiveDescendantElement
    2. ariaAtomic
    3. ariaAutoComplete
    4. ariaBrailleLabel
    5. ariaBrailleRoleDescription
    6. ariaBusy
    7. ariaChecked
    8. ariaColCount
    9. ariaColIndex
    10. ariaColIndexText
    11. ariaColSpan
    12. ariaControlsElements
    13. ariaCurrent
    14. ariaDescribedByElements
    15. ariaDescription
    16. ariaDetailsElements
    17. ariaDisabled
    18. ariaErrorMessageElements
    19. ariaExpanded
    20. ariaFlowToElements
    21. ariaHasPopup
    22. ariaHidden
    23. ariaInvalid
    24. ariaKeyShortcuts
    25. ariaLabel
    26. ariaLabelledByElements
    27. ariaLevel
    28. ariaLive
    29. ariaModal
    30. ariaMultiLine
    31. ariaMultiSelectable
    32. ariaOrientation
    33. ariaOwnsElements
    34. ariaPlaceholder
    35. ariaPosInSet
    36. ariaPressed
    37. ariaReadOnly
    38. ariaRelevant Non standard
    39. ariaRequired
    40. ariaRoleDescription
    41. ariaRowCount
    42. ariaRowIndex
    43. ariaRowIndexText
    44. ariaRowSpan
    45. ariaSelected
    46. ariaSetSize
    47. ariaSort
    48. ariaValueMax
    49. ariaValueMin
    50. ariaValueNow
    51. ariaValueText
    52. assignedSlot
    53. attributes
    54. childElementCount
    55. children
    56. classList
    57. className
    58. clientHeight
    59. clientLeft
    60. clientTop
    61. clientWidth
    62. currentCSSZoom
    63. elementTiming Expérimental
    64. firstElementChild
    65. id
    66. innerHTML
    67. lastElementChild
    68. localName
    69. namespaceURI
    70. nextElementSibling
    71. outerHTML
    72. part
    73. prefix
    74. previousElementSibling
    75. role
    76. scrollHeight
    77. scrollLeft
    78. scrollLeftMax Non standard
    79. scrollTop
    80. scrollTopMax Non standard
    81. scrollWidth
    82. shadowRoot
    83. slot
    84. tagName
  4. Méthodes d'instance
    1. after()
    2. animate()
    3. append()
    4. attachShadow()
    5. before()
    6. checkVisibility()
    7. closest()
    8. computedStyleMap()
    9. getAnimations()
    10. getAttribute()
    11. getAttributeNames()
    12. getAttributeNode()
    13. getAttributeNodeNS()
    14. getAttributeNS()
    15. getBoundingClientRect()
    16. getClientRects()
    17. getElementsByClassName()
    18. getElementsByTagName()
    19. getElementsByTagNameNS()
    20. getHTML()
    21. hasAttribute()
    22. hasAttributeNS()
    23. hasAttributes()
    24. hasPointerCapture()
    25. insertAdjacentElement()
    26. insertAdjacentHTML()
    27. insertAdjacentText()
    28. matches()
    29. moveBefore() Expérimental
    30. prepend()
    31. querySelector()
    32. querySelectorAll()
    33. releasePointerCapture()
    34. remove()
    35. removeAttribute()
    36. removeAttributeNode()
    37. removeAttributeNS()
    38. replaceChildren()
    39. replaceWith()
    40. requestFullscreen()
    41. requestPointerLock()
    42. scroll()
    43. scrollBy()
    44. scrollIntoView()
    45. scrollIntoViewIfNeeded() Non standard
    46. scrollTo()
    47. setAttribute()
    48. setAttributeNode()
    49. setAttributeNodeNS()
    50. setAttributeNS()
    51. setCapture() Non standard Obsolète
    52. setHTML() Expérimental
    53. setHTMLUnsafe()
    54. setPointerCapture()
    55. toggleAttribute()
  5. Évènements
    1. afterscriptexecute Non standard Obsolète
    2. animationcancel
    3. animationend
    4. animationiteration
    5. animationstart
    6. auxclick
    7. beforeinput
    8. beforematch
    9. beforescriptexecute Non standard Obsolète
    10. beforexrselect Expérimental
    11. blur
    12. click
    13. compositionend
    14. compositionstart
    15. compositionupdate
    16. contentvisibilityautostatechange
    17. contextmenu
    18. copy
    19. cut
    20. dblclick
    21. DOMActivate Obsolète
    22. DOMMouseScroll Non standard Obsolète
    23. focus
    24. focusin
    25. focusout
    26. fullscreenchange
    27. fullscreenerror
    28. gesturechange Non standard
    29. gestureend Non standard
    30. gesturestart Non standard
    31. gotpointercapture
    32. input
    33. keydown
    34. keypress Obsolète
    35. keyup
    36. lostpointercapture
    37. mousedown
    38. mouseenter
    39. mouseleave
    40. mousemove
    41. mouseout
    42. mouseover
    43. mouseup
    44. mousewheel Non standard Obsolète
    45. MozMousePixelScroll Non standard Obsolète
    46. paste
    47. pointercancel
    48. pointerdown
    49. pointerenter
    50. pointerleave
    51. pointermove
    52. pointerout
    53. pointerover
    54. pointerrawupdate
    55. pointerup
    56. scroll
    57. scrollend
    58. scrollsnapchange Expérimental
    59. scrollsnapchanging Expérimental
    60. securitypolicyviolation
    61. touchcancel
    62. touchend
    63. touchmove
    64. touchstart
    65. transitioncancel
    66. transitionend
    67. transitionrun
    68. transitionstart
    69. webkitmouseforcechanged Non standard
    70. webkitmouseforcedown Non standard
    71. webkitmouseforceup Non standard
    72. webkitmouseforcewillbegin Non standard
    73. wheel
  6. Héritage
    1. Node
    2. EventTarget
  7. Pages liées à DOM
    1. AbortController
    2. AbortSignal
    3. AbstractRange
    4. Attr
    5. CDATASection
    6. CharacterData
    7. Comment
    8. CustomEvent
    9. DOMError Obsolète
    10. DOMException
    11. DOMImplementation
    12. DOMParser
    13. DOMPoint
    14. DOMPointReadOnly
    15. DOMRect
    16. DOMTokenList
    17. Document
    18. DocumentFragment
    19. DocumentType
    20. Event
    21. EventTarget
    22. HTMLCollection
    23. MutationObserver
    24. MutationRecord
    25. NamedNodeMap
    26. Node
    27. NodeIterator
    28. NodeList
    29. ProcessingInstruction
    30. Range
    31. StaticRange
    32. Text
    33. TextDecoder
    34. TextEncoder
    35. TimeRanges
    36. TreeWalker
    37. XMLDocument
  8. Guides
    1. Introduction
    2. Utilisation du DOM Level 1 Core du W3C
    3. Attribute reflection
    4. Explorer un tableau HTML avec des interfaces DOM et JavaScript
    5. Localisation des éléments DOM avec les sélecteurs
    6. Génération de HTML
    7. Exemples

Dans cet article

  • Syntaxe
  • Spécifications
  • Compatibilité des navigateurs
  • Voir aussi

Element.onwheel

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

  • Learn more
  • See full compatibility
  • Report feedback

La propriété onwheel renvoie le code du gestionnaire d'évènements onwheel de l'élément courant.

Syntaxe

js
element.onwheel = function() { .. }

Spécifications

Specification
UI Events
# event-type-wheel
HTML
# handler-onwheel

Compatibilité des navigateurs

Voir aussi

  • Document: wheel event
  • Element: wheel event

Help improve MDN

Learn how to contribute.

This page was last modified on 17 déc. 2024 by MDN contributors.

View this page on GitHub • Report a problem with this content
MDN logo

Your blueprint for a better internet.

  • MDN on Bluesky
  • MDN on Mastodon
  • MDN on X (formerly Twitter)
  • MDN on GitHub
  • MDN Blog RSS Feed

MDN

  • About
  • Blog
  • Careers
  • Advertise with us

Support

  • Product help
  • Report an issue

Our communities

  • MDN Community
  • MDN Forum
  • MDN Chat

Developers

  • Web Technologies
  • Learn Web Development
  • MDN Plus
  • Hacks Blog
  • Website Privacy Notice
  • Cookies
  • Legal
  • Community Participation Guidelines

Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2025 by individual mozilla.org contributors. Content available under a Creative Commons license.