javascript-tutorial / ru.javascript.info

Современный учебник JavaScript
https://learn.javascript.ru
Other
3.84k stars 917 forks source link

Поправить ошибку в разделе "Координаты: clientX/Y, pageX/Y" #1933

Open iegorov opened 9 months ago

iegorov commented 9 months ago

Описание

В статье перепутано описание. На самом деле: pageX/Y - учитывает прокрутку clientX/Y - не учитывает

Ссылки

https://developer.mozilla.org/ru/docs/Web/API/MouseEvent/pageX https://developer.mozilla.org/ru/docs/Web/API/MouseEvent/clientX

CLAassistant commented 9 months ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.