diff options
Diffstat (limited to 'files/fr/web/api/wheelevent/deltax/index.html')
-rw-r--r-- | files/fr/web/api/wheelevent/deltax/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/files/fr/web/api/wheelevent/deltax/index.html b/files/fr/web/api/wheelevent/deltax/index.html index f98967d589..05a9e41e39 100644 --- a/files/fr/web/api/wheelevent/deltax/index.html +++ b/files/fr/web/api/wheelevent/deltax/index.html @@ -17,11 +17,11 @@ translation_of: Web/API/WheelEvent/deltaX <h2 id="Syntaxe">Syntaxe</h2> -<pre class="syntaxbox notranslate">var <code><em>dX</em> = <em>event</em>.deltaX;</code></pre> +<pre class="syntaxbox">var <code><em>dX</em> = <em>event</em>.deltaX;</code></pre> <h2 id="Exemple">Exemple</h2> -<pre class="brush: js notranslate">var syntheticEvent = new WheelEvent("syntheticWheel", {"deltaX": 4, "deltaMode": 0}); +<pre class="brush: js">var syntheticEvent = new WheelEvent("syntheticWheel", {"deltaX": 4, "deltaMode": 0}); console.log(syntheticEvent.deltaX); </pre> |