File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed
2-ui/1-document/10-size-and-scroll-window Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -73,17 +73,13 @@ alert('Current scroll from the left: ' + window.pageXOffset);
7373
7474Ces propriétés sont en lecture seule.
7575
76- <<<<<<< HEAD
77- ## Défilement : scrollTo, scrollBy, scrollIntoView [#window-scroll]
78- =======
79- ```smart header="Also available as `window` properties `scrollX` and `scrollY`"
80- For historical reasons, both properties exist, but they are the same:
81- - `window.pageXOffset` is an alias of `window.scrollX`.
82- - `window.pageYOffset` is an alias of `window.scrollY`.
76+ ```smart header="Également disponible en tant que propriétés `window` `scrollX` et `scrollY`"
77+ Pour des raisons historiques, les deux propriétés existent, mais elles sont identiques :
78+ - `window.pageXOffset` est un alias de `window.scrollX`.
79+ - `window.pageYOffset` est un alias de `window.scrollY`.
8380```
81+ ## Défilement : scrollTo, scrollBy, scrollIntoView [#window-scroll]
8482
85- ## Scrolling: scrollTo, scrollBy, scrollIntoView [#window-scroll]
86- >>>>>>> 6ab384f2512902d74e4b0ff5a6be60e48ab52e96
8783
8884```warn
8985Pour faire défiler la page avec JavaScript, son DOM doit être entièrement construit.
You can’t perform that action at this time.
0 commit comments