Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

iegorov
Copy link

@iegorov iegorov commented Feb 13, 2024

Описание

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

Ссылки

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

В статье перепутано описание.
pageX/Y - учитывает прокрутку
clientX/Y - не учитывает
Сравнивал с MDN:
https://developer.mozilla.org/ru/docs/Web/API/MouseEvent/pageX
@javascript-translate-bot javascript-translate-bot added the review needed Review needed, please approve or request changes label Feb 13, 2024
@javascript-translate-bot javascript-translate-bot requested a review from a team February 13, 2024 15:45
@CLAassistant
Copy link

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.

@javascript-translate-bot javascript-translate-bot added needs +1 One more review needed and removed review needed Review needed, please approve or request changes labels Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs +1 One more review needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants