We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

Window.pageYOffset

这是 scrollY 的别名。

规范

Specification Status Comment
CSS Object Model (CSSOM) View Module
window.pageYOffset
Working Draft  

浏览器支持

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support (Yes) (Yes) 9 (Yes) (Yes)
Feature Android Android Webview Firefox Mobile (Gecko) Firefox OS IE Mobile Opera Mobile Safari Mobile Chrome for Android
Basic support ? ? (Yes) (Yes) ? ? ? (Yes)

相关链接

文档标签和贡献者

标签: 
此页面的贡献者: Ende93
最后编辑者: Ende93,