Element.scrollTopMax
非标准: 该特性是非标准的,请尽量不要在生产环境中使用它!
Element.scrollTopMax
返回一个只读 Number 表示元素所能滚动的最大高度
语法
var pxl = elt.scrollTopMax;
规范
此属性不在当前规范中
浏览器兼容性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
scrollTopMax |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- Non-standard. Check cross-browser support before using.
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.
See also
Element.scrollLeftMax
giving the same information for the other axis.