aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/touch/clienty
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/touch/clienty')
-rw-r--r--files/zh-cn/web/api/touch/clienty/index.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/files/zh-cn/web/api/touch/clienty/index.html b/files/zh-cn/web/api/touch/clienty/index.html
new file mode 100644
index 0000000000..d905fd66b9
--- /dev/null
+++ b/files/zh-cn/web/api/touch/clienty/index.html
@@ -0,0 +1,26 @@
+---
+title: Touch.clientY
+slug: Web/API/Touch/clientY
+translation_of: Web/API/Touch/clientY
+---
+<p>{{ ApiRef() }}</p>
+<h3 id="Summary" name="Summary">概述</h3>
+<p>返回触点相对于可见视区(<a class="external" href="http://www.quirksmode.org/mobile/viewports2.html" title="http://www.quirksmode.org/mobile/viewports2.html">visual viewport</a>)上边沿的的Y坐标. 不包括任何滚动偏移.这个值会根据用户对可见视区的缩放行为而发生变化.</p>
+<h3 id="Syntax" name="Syntax">语法</h3>
+<pre class="eval">var <span style="font-style: italic;">y</span> = <em>touchItem</em>.clientY;
+</pre>
+<h3 id="Return_Value" name="Return_Value">返回值</h3>
+<dl>
+ <dt>
+ <code>y</code></dt>
+ <dd>
+ 返回触点相对于可见视区(<a class="external" href="http://www.quirksmode.org/mobile/viewports2.html" title="http://www.quirksmode.org/mobile/viewports2.html">visual viewport</a>)上边沿的的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.clientX") }}</li>
+ <li>{{ domxref("Touch.screenY") }}</li>
+ <li>{{ domxref("Touch.pageY") }}</li>
+</ul>