From 3e4adea2ee2e5d4484e1b53c2cb61b4f897ac593 Mon Sep 17 00:00:00 2001 From: MDN Date: Mon, 28 Jun 2021 00:37:58 +0000 Subject: [CRON] sync translated content --- .../orphaned/web/api/documenttouch/index.html | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 files/zh-cn/orphaned/web/api/documenttouch/index.html (limited to 'files/zh-cn/orphaned') 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 +--- +

{{ ApiRef("DOM") }}

+ +

{{ obsolete_header(25) }}

+ +

从Gecko 25 (Firefox 25 / Thunderbird 25 / SeaMonkey 2.22)开始被废弃

+ +

本特性已经被废弃,虽然它仍然可以在一些浏览器中工作,它随时都可能被移除,我们不鼓励使用它,你应尽量避免使用它。

+ +

DocumentTouch 接口提供了一个便利的方法来创建 {{ domxref("Touch") }} 和 {{ domxref("TouchList") }} 对象, 可是它将被移除。 但这个方法将会继续在{{domxref("Document")}} 接口中存在.

+ +

方法

+ +
+
{{ domxref("DocumentTouch.createTouch()") }}
+
创建一个新的 {{ domxref("Touch") }} 对象.
+
{{ domxref("DocumentTouch.createTouchList()") }}
+
创建一个新的 {{ domxref("TouchList") }} 对象.
+
+ +

更多

+ + -- cgit v1.2.3-54-g00ecf