Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
iegorov wants to merge1 commit intojavascript-tutorial:master
base:master
Choose a base branch
Loading
fromiegorov:patch-1

Conversation

iegorov
Copy link

Описание

В статье перепутано описание.
На самом деле:
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-botjavascript-translate-bot added the review neededReview needed, please approve or request changes labelFeb 13, 2024
@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 ourContributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let usrecheck it.

@javascript-translate-botjavascript-translate-bot added needs +1One more review needed and removed review neededReview needed, please approve or request changes labelsMar 9, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ruslauzruslauzruslauz approved these changes

Assignees
No one assigned
Labels
needs +1One more review needed
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@iegorov@CLAassistant@ruslauz@javascript-translate-bot

[8]ページ先頭

©2009-2025 Movatter.jp