MouseEvent.x

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.xMouseEvent.clientX 属性的别名。

规范

Specification
CSSOM View Module
# dom-mouseevent-x

浏览器兼容性

BCD tables only load in the browser