aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/element/scrolltopmax/index.html
blob: a2a34d4f98818a6fa1338a3e31dafe8491bfc8fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---
title: Element.scrollTopMax
slug: Web/API/Element/scrollTopMax
translation_of: Web/API/Element/scrollTopMax
---
<p>{{APIRef("DOM")}}{{Non-standard_header}}</p>

<p><code><strong>Element.scrollTopMax 返回一个只读Number表示元素所能滚动的最大高度</strong></code></p>

<h2 id="语法">语法</h2>

<pre>var <em>pxl</em> = <em>elt</em>.scrollTopMax;</pre>

<h2 id="规范">规范</h2>

<p>此属性不在当前规范中</p>

<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容</h2>

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

<h2 id="See_also">See also</h2>

<ul>
 <li>{{domxref("Element.scrollLeftMax")}} giving the same information for the other axis.</li>
</ul>