aboutsummaryrefslogtreecommitdiff
path: root/files/de/web/api/event/bubbles/index.html
blob: 286bac6a234820e297d7dd736fad1361ca7cff34 (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
58
59
---
title: Event.bubbles
slug: Web/API/Event/bubbles
translation_of: Web/API/Event/bubbles
---
<p>{{ ApiRef("DOM") }}</p>

<h2 id="Summary" name="Summary">Zusammenfassung</h2>

<p>Gibt an, ob ein Event in der DOM-Hierarchie nach oben propagiert wird oder nicht.</p>

<h2 id="Syntax_2">Syntax</h2>

<pre>event.bubbles</pre>

<h3 id="Wert">Wert</h3>

<p>Ein {{domxref("Boolean")}}, welches <code>true</code> ist, falls das Event durch die DOM-Hierarchie nach oben propagiert wird.</p>

<h2 id="Syntax" name="Syntax">Beispiel</h2>

<pre class="brush: js"> function goInput(e) {
  // checks bubbles and
  if (!e.bubbles) {
     // passes event along if it's not
     passItOn(e);
  }
  // already bubbling
  doOutput(e)
}
</pre>

<div class="note">
<p><strong>Hinweis</strong>: Nur bestimmte Events können weiter nach oben propagiert werden. Die Events, die dazu in der Lage sind, haben den Wert <em>true,  </em>für die hier beschriebene Eigenschaft.</p>
</div>

<h2 id="Specifications" name="Specifications">Specifications</h2>

<table class="standard-table">
 <thead>
  <tr>
   <th scope="col">Specification</th>
   <th scope="col">Status</th>
   <th scope="col">Comment</th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td>{{SpecName('DOM WHATWG', '#dom-event-bubbles', 'Event.bubbles')}}</td>
   <td>{{ Spec2('DOM WHATWG') }}</td>
   <td> </td>
  </tr>
  <tr>
   <td>{{SpecName('DOM2 Events', '#Events-Event-canBubble', 'Event.bubbles')}}</td>
   <td>{{ Spec2('DOM2 Events') }}</td>
   <td>Initial definition.</td>
  </tr>
 </tbody>
</table>