diff options
Diffstat (limited to 'files/zh-cn/web/api/touch/screeny/index.html')
| -rw-r--r-- | files/zh-cn/web/api/touch/screeny/index.html | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/files/zh-cn/web/api/touch/screeny/index.html b/files/zh-cn/web/api/touch/screeny/index.html new file mode 100644 index 0000000000..e3c583c101 --- /dev/null +++ b/files/zh-cn/web/api/touch/screeny/index.html @@ -0,0 +1,36 @@ +--- +title: Touch.screenY +slug: Web/API/Touch/screenY +tags: + - touch +translation_of: Web/API/Touch/screenY +--- +<p>{{ ApiRef() }}</p> + +<h3 id="Summary" name="Summary">概述</h3> + +<p>返回触点相对于屏幕上边沿的Y坐标. 不包含页面滚动的偏移量.</p> + +<h3 id="Syntax" name="Syntax">语法</h3> + +<pre class="eval">var <em>y</em> = <em>touchItem</em>.screenY; +</pre> + +<h3 id="Return_Value" name="Return_Value">返回值</h3> + +<dl> + <dt><code>y</code></dt> + <dd>触点相对于屏幕上边沿的Y坐标. 不包含页面滚动的偏移量.</dd> +</dl> + +<h3 id="Specification" name="Specification">标准定义</h3> + +<p><a class="external" href="http://www.w3.org/TR/touch-events/" title="http://www.w3.org/TR/touch-events/">Touch Events Specification</a></p> + +<h3 id="相关链接">相关链接</h3> + +<ul> + <li>{{ domxref("Touch.screenX") }}</li> + <li>{{ domxref("Touch.clientY") }}</li> + <li>{{ domxref("Touch.pageY") }}</li> +</ul> |
