Window.pageXOffset
这是 scrollX 的别名
规范
Specification | Status | Comment |
---|---|---|
CSS Object Model (CSSOM) View Module window.pageXOffset |
Working Draft |
浏览器支持
BCD tables only load in the browser
这是 scrollX 的别名
Specification | Status | Comment |
---|---|---|
CSS Object Model (CSSOM) View Module window.pageXOffset |
Working Draft |
BCD tables only load in the browser