aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/orphaned/web/api
diff options
context:
space:
mode:
authorMDN <actions@users.noreply.github.com>2021-06-28 00:37:58 +0000
committerMDN <actions@users.noreply.github.com>2021-06-28 00:37:58 +0000
commit3e4adea2ee2e5d4484e1b53c2cb61b4f897ac593 (patch)
treea9c2467fb4f62ecaa7efa328b78a43012f10ca8b /files/zh-cn/orphaned/web/api
parent8eb7592bb0d90072c33df6d51c3c4dbc1e6754c0 (diff)
downloadtranslated-content-3e4adea2ee2e5d4484e1b53c2cb61b4f897ac593.tar.gz
translated-content-3e4adea2ee2e5d4484e1b53c2cb61b4f897ac593.tar.bz2
translated-content-3e4adea2ee2e5d4484e1b53c2cb61b4f897ac593.zip
[CRON] sync translated content
Diffstat (limited to 'files/zh-cn/orphaned/web/api')
-rw-r--r--files/zh-cn/orphaned/web/api/documenttouch/index.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/files/zh-cn/orphaned/web/api/documenttouch/index.html b/files/zh-cn/orphaned/web/api/documenttouch/index.html
new file mode 100644
index 0000000000..9dd10a6ba5
--- /dev/null
+++ b/files/zh-cn/orphaned/web/api/documenttouch/index.html
@@ -0,0 +1,33 @@
+---
+title: DocumentTouch
+slug: orphaned/Web/API/DocumentTouch
+translation_of: Web/API/DocumentTouch
+original_slug: Web/API/DocumentTouch
+---
+<p>{{ ApiRef("DOM") }}</p>
+
+<p>{{ obsolete_header(25) }}</p>
+
+<p><strong style="font-size: 12px; line-height: 18px; background-color: rgba(230, 96, 0, 0.45098);">从Gecko 25 (Firefox 25 / Thunderbird 25 / SeaMonkey 2.22)开始被废弃</strong></p>
+
+<p><span style="font-size: 12px; line-height: 18px; background-color: rgba(230, 96, 0, 0.45098);">本特性已经被废弃,虽然它仍然可以在一些浏览器中工作,它随时都可能被移除,我们不鼓励使用它,你应尽量避免使用它。</span></p>
+
+<p><code>DocumentTouch</code> 接口提供了一个便利的方法来创建 {{ domxref("Touch") }} 和 {{ domxref("TouchList") }} 对象, 可是它将被移除。 但这个方法将会继续在{{domxref("Document")}} 接口中存在.</p>
+
+<h2 id="方法">方法</h2>
+
+<dl>
+ <dt>{{ domxref("DocumentTouch.createTouch()") }}</dt>
+ <dd>创建一个新的 {{ domxref("Touch") }} 对象.</dd>
+ <dt>{{ domxref("DocumentTouch.createTouchList()") }}</dt>
+ <dd>创建一个新的 {{ domxref("TouchList") }} 对象.</dd>
+</dl>
+
+<h2 id="更多">更多</h2>
+
+<ul>
+ <li><a href="/en/DOM/Touch_events" title="en/DOM/Touch events">Touch events</a></li>
+ <li>{{ domxref("Touch") }}</li>
+ <li>{{ domxref("TouchList") }}</li>
+ <li>{{ domxref("TouchEvent") }}</li>
+</ul>