Get to know MDN better
This page was translated from English by the community. Learn more and join the MDN Web Docs community.
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2015년 12월.
MouseEvent 의 읽기 전용 속성인 offsetX 는 해당 이벤트와 대상 노드 내 여백 사이의 마우스 포인터의 수평 좌표를 제공합니다.
double 부동 소수 값을 가집니다.
이전 버전에서의 스펙은 정수로 정의되었습니다.
| CSSOM View Module # dom-mouseevent-offsetx |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2025년 9월 17일 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.