--- title: Element.scrollTopMax slug: Web/API/Element/scrollTopMax translation_of: Web/API/Element/scrollTopMax ---

{{APIRef("DOM")}}{{Non-standard_header}}

Element.scrollTopMax 返回一个只读Number表示元素所能滚动的最大高度

语法

var pxl = elt.scrollTopMax;

规范

此属性不在当前规范中

浏览器兼容

{{Compat("api.Element.scrollTopMax")}}

See also