diff options
author | julieng <julien.gattelier@gmail.com> | 2021-10-02 17:20:24 +0200 |
---|---|---|
committer | SphinxKnight <SphinxKnight@users.noreply.github.com> | 2021-10-02 17:30:20 +0200 |
commit | 1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde (patch) | |
tree | 30a56efd3eff3a01bd1611e1840fdbbfacf544a4 /files/fr/web/api/globaleventhandlers/onwheel | |
parent | c05efa8d7ae464235cf83d7c0956e42dc6974103 (diff) | |
download | translated-content-1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde.tar.gz translated-content-1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde.tar.bz2 translated-content-1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde.zip |
convert content to md
Diffstat (limited to 'files/fr/web/api/globaleventhandlers/onwheel')
-rw-r--r-- | files/fr/web/api/globaleventhandlers/onwheel/index.md | 41 |
1 files changed, 15 insertions, 26 deletions
diff --git a/files/fr/web/api/globaleventhandlers/onwheel/index.md b/files/fr/web/api/globaleventhandlers/onwheel/index.md index 00be813af4..2c85e2e382 100644 --- a/files/fr/web/api/globaleventhandlers/onwheel/index.md +++ b/files/fr/web/api/globaleventhandlers/onwheel/index.md @@ -10,38 +10,27 @@ tags: translation_of: Web/API/GlobalEventHandlers/onwheel original_slug: Web/API/Element/onwheel --- -<p>{{ ApiRef("DOM") }}</p> +{{ ApiRef("DOM") }} -<p>La propriété <code>onwheel</code> renvoie le code du gestionnaire d'évènements <code>onwheel</code> de l'élément courrant.</p> +La propriété `onwheel` renvoie le code du gestionnaire d'évènements `onwheel` de l'élément courrant. -<h2 id="Syntaxe">Syntaxe</h2> +## Syntaxe -<pre class="brush: js">element.onwheel = function() { .. }</pre> +```js +element.onwheel = function() { .. } +``` -<h2 id="Spécification">Spécification</h2> +## Spécification -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Spécification</th> - <th scope="col">Statut</th> - <th scope="col">Commentaire</th> - </tr> - <tr> - <td>{{SpecName('HTML WHATWG','webappapis.html#handler-onwheel','onwheel')}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td> </td> - </tr> - </tbody> -</table> +| Spécification | Statut | Commentaire | +| ------------------------------------------------------------------------------------------------ | -------------------------------- | ----------- | +| {{SpecName('HTML WHATWG','webappapis.html#handler-onwheel','onwheel')}} | {{Spec2('HTML WHATWG')}} | | -<h2 id="Browser_compatibility">Compatibilité des navigateurs</h2> +## Compatibilité des navigateurs -<p>{{Compat("api.GlobalEventHandlers.onwheel")}}</p> +{{Compat("api.GlobalEventHandlers.onwheel")}} -<h2 id="See_also">Voir aussi</h2> +## Voir aussi -<ul> - <li><a href="/fr/docs/Web/API/Document/wheel_event">Document: <code>wheel</code> event</a></li> - <li><a href="/fr/docs/Web/API/Element/wheel_event">Element: <code>wheel</code> event</a></li> -</ul>
\ No newline at end of file +- [Document: `wheel` event](/fr/docs/Web/API/Document/wheel_event) +- [Element: `wheel` event](/fr/docs/Web/API/Element/wheel_event) |