aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/element/touchstart_event/index.html
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/zh-cn/web/api/element/touchstart_event/index.html
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/zh-cn/web/api/element/touchstart_event/index.html')
-rw-r--r--files/zh-cn/web/api/element/touchstart_event/index.html70
1 files changed, 70 insertions, 0 deletions
diff --git a/files/zh-cn/web/api/element/touchstart_event/index.html b/files/zh-cn/web/api/element/touchstart_event/index.html
new file mode 100644
index 0000000000..17de790399
--- /dev/null
+++ b/files/zh-cn/web/api/element/touchstart_event/index.html
@@ -0,0 +1,70 @@
+---
+title: touchstart
+slug: Web/API/Element/touchstart_event
+tags:
+ - Event
+ - UI
+ - UI Events
+ - UX
+ - touchstart
+ - 事件
+ - 触摸
+ - 触摸事件
+translation_of: Web/API/Element/touchstart_event
+---
+<p>{{APIRef}}</p>
+
+<p>当一个或多个触摸点与触控设备表面接触时触发<code>touchstart</code> 事件.</p>
+
+<table class="properties">
+ <tbody>
+ <tr>
+ <th>Bubbles</th>
+ <td>Yes</td>
+ </tr>
+ <tr>
+ <th>Cancelable</th>
+ <td>Yes</td>
+ </tr>
+ <tr>
+ <th>Interface</th>
+ <td>{{domxref("TouchEvent")}}</td>
+ </tr>
+ <tr>
+ <th>Event handler property</th>
+ <td>{{ domxref("GlobalEventHandlers.ontouchstart","ontouchstart")}}</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="示例">示例</h2>
+
+<p>这些时间的代码样例可在这个专用页面查看:<a href="/en-US/DOM/Touch_events">Touch events</a>.</p>
+
+<h2 id="规范">规范</h2>
+
+<table class="standard-table">
+ <tbody>
+ <tr>
+ <th scope="col">规范</th>
+ <th scope="col">状态</th>
+ </tr>
+ <tr>
+ <td>{{SpecName('Touch Events', '#event-touchstart')}}</td>
+ <td>{{Spec2('Touch Events')}}</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="浏览器兼容性">浏览器兼容性</h2>
+
+
+
+<p>{{Compat("api.Element.touchstart_event")}}</p>
+
+<h2 id="参见">参见</h2>
+
+<ul>
+ <li><a href="/en-US/docs/Web/API/Touch_events">Touch events</a></li>
+ <li>以 <code><a href="/en-US/docs/Web/API/Document">Document</a></code> 为目标的相同事件:<code><a href="/en-US/docs/Web/API/Document/touchstart_event">touchstart</a></code></li>
+</ul>