blob: 7032dfe1bab7d82cdf426c3aa064b37673f60251 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
---
title: Event.originalTarget
slug: Web/API/Event/originalTarget
tags:
- originalTarget
translation_of: Web/API/Event/originalTarget
---
<div>{{ ApiRef("DOM") }} {{Non-standard_header}}</div>
<div> </div>
<h2 id="Summary" name="Summary">简介</h2>
<p>original target是事件重定向之前的原始目标. (Mozilla-特有)</p>
<p>在XBL的匿名内容中,这将是该事件最初触发的匿名节点。看到匿名的内容。查看<a href="/en-US/docs/XBL/XBL_1.0_Reference/Anonymous_Content#Event_Flow_and_Targeting" title="XBL/XBL_1.0_Reference/Anonymous_Content#Event_Flow_and_Targeting">Anonymous Content#Event_Flow_and_Targeting</a> 获取更多细节.</p>
<p>注意:原始目标也可能是原生的匿名内容(参见Bug(“208427”)),在这种情况下,它对于非特权代码是无用的。</p>
<p>查看<a href="/en-US/docs/DOM/event/Comparison_of_Event_Targets" title="DOM/event/Comparison_of_Event_Targets">Comparison of Event Targets</a></p>
<h2 id="Example" name="Example">示例</h2>
<p><em>需要一个有意义的示例</em></p>
<h2 id="Specification" name="Specification">Specification属性</h2>
<p>这是一个Mozilla特有的属性. 定义在 {{Source("/dom/public/idl/events/nsIDOMNSEvent.idl")}}</p>
<p>再 <a href="http://www.w3.org/TR/DOM-Level-2-Events/events.html">W3.org DOM Level 2 Events未定义这个属性</a></p>
|