Element.scrollLeftMax
非标准: 该特性是非标准的,请尽量不要在生产环境中使用它!
这个 Element.scrollLeftMax
是只读的属性返回一个 Number
表示一个元素横向滚动条可滚动的最大距离。
语法
var pxl = elt.scrollLeftMax;
规范
这个属性还没纳入规范。
浏览器兼容性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
scrollLeftMax |
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.
更多
Element.scrollTopMax
纵坐标用法相同。