diff options
Diffstat (limited to 'files/de/web/api/event/bubbles')
| -rw-r--r-- | files/de/web/api/event/bubbles/index.html | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/files/de/web/api/event/bubbles/index.html b/files/de/web/api/event/bubbles/index.html new file mode 100644 index 0000000000..286bac6a23 --- /dev/null +++ b/files/de/web/api/event/bubbles/index.html @@ -0,0 +1,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> |
