MouseEvent: offsetX
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
MouseEvent
의 읽기 전용 속성인 offsetX
는 해당 이벤트와 대상 노드 내 여백 사이의 마우스 포인터의 수평 좌표를 제공합니다.
값
double
부동 소수 값을 가집니다.
이전 버전에서의 스펙은 정수로 정의되었습니다.
명세서
Specification |
---|
CSSOM View Module # dom-mouseevent-offsetx |
브라우저 호환성
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
offsetX |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.