blob: d066512013d935cf7fda44e485af4b8255014935 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
---
title: DOMLinkAdded
slug: Web/Events/DOMLinkAdded
translation_of: Archive/Add-ons/Events/DOMLinkAdded
---
<p>当把一个<a href="/en-US/docs/HTML/Element/link"><code><link></code></a>元素插入到文档中的时候,会触发<code>DOMLinkAdded</code>事件.</p>
<h2 id="基本信息">基本信息</h2>
<dl>
<dt style="float: left; text-align: right; width: 120px;">规范</dt>
<dd style="margin: 0pt 0pt 0pt 120px;">附加组件私有</dd>
<dt style="float: left; text-align: right; width: 120px;">接口</dt>
<dd style="margin: 0pt 0pt 0pt 120px;">Event</dd>
<dt style="float: left; text-align: right; width: 120px;">是否冒泡</dt>
<dd style="margin: 0pt 0pt 0pt 120px;">是</dd>
<dt style="float: left; text-align: right; width: 120px;">能否取消默认行为</dt>
<dd style="margin: 0pt 0pt 0pt 120px;">能</dd>
<dt style="float: left; text-align: right; width: 120px;">目标</dt>
<dd style="margin: 0pt 0pt 0pt 120px;">window, <a href="/en-US/docs/XUL/browser">browser</a></dd>
<dt style="float: left; text-align: right; width: 120px;">默认行为</dt>
<dd style="margin: 0pt 0pt 0pt 120px;">无</dd>
</dl>
<h2 id="属性">属性</h2>
<table class="standard-table">
<thead>
<tr>
<th scope="col">Property</th>
<th scope="col">Type</th>
<th scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>target</code> {{readonlyInline}}</td>
<td>{{domxref("EventTarget")}}</td>
<td>The event target (the topmost target in the DOM tree).</td>
</tr>
<tr>
<td><code>type</code> {{readonlyInline}}</td>
<td>{{domxref("DOMString")}}</td>
<td>The type of event.</td>
</tr>
<tr>
<td><code>bubbles</code> {{readonlyInline}}</td>
<td>{{jsxref("Boolean")}}</td>
<td>Whether the event normally bubbles or not.</td>
</tr>
<tr>
<td><code>cancelable</code> {{readonlyInline}}</td>
<td>{{jsxref("Boolean")}}</td>
<td>Whether the event is cancellable or not.</td>
</tr>
</tbody>
</table>
|