mozilla

Version 116728 von Ereignisse

  • Adressname der Version: XUL/Events
  • Titel der Version: Ereignisse
  • ID der Version: 116728
  • Erstellt:
  • Autor: Mrolappe
  • Aktuelle Version? Nein
  • Kommentar partially translated english page, more to come
Schlagwörter: 

Inhalt der Version

{{ XULRefEvent() }}

Die folgenden Tabellen beschreiben die Ereignisbehandlungsroutinen, welche die meisten XUL-Elemente betreffen. Die 'Lauscher' (Listener) für die Ereignisse können mit dem Element mittels addEventListener verknüpft werden, removeEventListener hebt diese Verknüpfung wieder auf.

Für einige Ereignisse kann die Verknüpfung auch über Attribute erfolgen. Hierbei muss jedoch berücksichtigt werden, dass gleichzeitig nur ein Ereignislauscher verknüpft sein kann. Eventuell bereits bestehende Verknüpfungen mit Lauschern werden aufgelöst. Der Name des Attributs entspricht dem Namen des Ereignisses mit einem vorangestellten 'on'.

Geerbte DOM-Ereignisse

Ereignis Beschreibung

blur

Das Gegenteil des focus-Ereignisses; das blur-Ereignis tritt auf, nachdem ein Element den Eingabefokus verloren hat.
Attribut: onblur

change

Dieses Ereignis wird gesendet, wenn der Wert eines Textfelds geändert wird, aber erst wenn der Eingabefokus auf ein anderes Element übergeht.
Attribut: onchange

click

This event is sent when a mouse button is pressed and released. You can determine which mouse button was clicked by retrieving the button property of the event object. This event is also sent when the user double-clicks with the mouse. The detail property specifies how many clicks occurred. You can also check for triple-clicks in a similar manner. You should not use this event in XUL to respond to user actions; the command event should be used instead.
Attribut: onclick

dblclick

This event is like the click event except it is only sent when the user double clicks with the mouse. This is an alternative to checking the detail property in the click event.
Attribut: ondblclick

DOMMouseScroll

This event is sent when the mouse wheel is moved, whether it results in content being scrolled or not.
The target of this event is the element that was under the mouse pointer when the mouse wheel was scrolled, similar to the click event.

focus

The focus event is sent to an element when it receives the focus. Once an element has the focus, keyboard events are sent to it. The focus can be changed by clicking on an element or by pressing TAB to switch to the next element is sequence.
Attribut: onfocus

keydown

Das Ereignis keydown wird einem Element gesendet, das den Eingabefokus hat, wenn eine Taste gedrückt aber nicht losgelassen ist.
Attribut: onkeydown

keypress

The keypress event is sent to an element that has the focus and a key is pressed and released. When the user presses a key, the keydown event is first sent, followed by the keypress event and then the keyup event. In a textbox, a user normally can hold down a key to repeat a character In this case, multiple sets of key events are sent as if the user rapidly pressed the same key repeatedly.
Attribut: onkeypress

keyup

Das Ereignis keyup wird einem Element gesendet, das den Eingabefokus hat, wenn eine Taste losgelassen wird.
Attribut: onkeyup

load

This event is sent to the window after it has been fully loaded. You should place this event handler on the window element. This event may also be used on the image element, or an element that accepts an image attribute, and will be fired when the image has finished loading. For images, this event does not bubble up the element tree, so it will not conflict with the window's load event.
Attribut: onload

mousedown

Dieses Ereignis wird gesendet, wenn die Maustaste über einem Element gedrückt aber nicht losgelassen wird.
Attribut: onmousedown

mousemove

Dieses Ereignis wird wiederholt gesendet, während der Mauszeiger über einem Element bewegt wird.
Attribut: onmousemove

mouseout

Dieses Ereignis wird einem Element gesendet, wenn der Benutzer den Mauszeiger aus dem Bereich des Elements bewegt. Es ist das Gegenstück zum Ereignis mouseover.
Attribut: onmouseout

mouseover

This event is sent to an element when the mouse first moves over an element. You can use this event to provide feedback to the user.
Attribut: onmouseover

mouseup

Dieses Ereignis wird gesendet, wenn die Maustaste über einem Element losgelassen wird.
Attribut: onmouseup

select

Dieses Ereignis wird einer listbox bzw. einem tree bei Auswahl eines Eintrags gesendet.
Attribut: onselect

unload

Dieses Ereignis wird einem Fenster gesendet, wenn das Fenster geschlossen wurde. Dieses erfolgt nach dem Ereignis close. Die Behandlungsroutine für dieses Ereignis sollte dem window-Element zugewiesen werden.
Attribut: onunload

Veränderungs-DOM-Ereignisse

Ereignis Beschreibung

DOMAttrModified

This event is sent to an element when one of its attributes is modified. In the event handler, you can retrieve the attribute that was modified using the event's attrName property, and you can retrieve the old and new values of the attribute using the event's prevValue and newValue properties.

DOMMenuItemActive

This event is sent when a menu or menuitem is hovered over, or highlighted. Dieses Ereignis steigt auf.

DOMMenuItemInactive

This event is sent when a menu or menuitem is no longer being hovered over, or highlighted. Dieses Ereignis steigt auf.

DOMNodeInserted

This event is sent when a node is added as a child of a element. If you capture this element at the document level, you can be notified of document changes.

DOMNodeRemoved

This event is sent when a node is removed from an element. If you capture this element at the document level, you can be notified of document changes.

Gebräuchliche XUL-Ereignisse

Ereignis Beschreibung

broadcast

The event handler should be placed on an observer. The broadcast event is sent when the attributes of the element (such as a broadcaster) being listened to are changed.
Attribut: onbroadcast

close

This event is sent when a request has been made to close the window when the user presses the close button. If you place an event handler on the window element, you can trap the window close. If you return false from the close handler, the window will not close. Return true to have it close normally. Note that this event is only fired when the user presses the close button on the titlebar; use the unload event to capture all attempts to unload the window.
Attribut: onclose

command

This event handler is called when an element is activated. How it is activated varies for each element and in many cases, there are several ways to activate an element. For example, a button can be activated by clicking on it with the mouse or by pressing ENTER while it has the focus. Menus can be activated by selecting them with the mouse or by pressing a shortcut key. You should always use the command event instead of click because it will be called in all of the needed cases.
Attribut: oncommand

commandupdate

This event occurs when a command update occurs on a <commandset> element. You would use this to update the disabled status of its commands.
Attribut: oncommandupdate

contextmenu

This event is sent to an element when the user requests to open the context menu for the element. The action to do this varies by platform, but it will typically be a right click. This handler is usually used to dynamically set the commands on a menu when the user requests to display it, or you can use popupshowing event. Returning false from this event handler prevents the popup from appearing.
Attribut: oncontextmenu

dragdrop

This event is sent when the user releases the mouse button to drop an object being dragged. The element, if it accepts the drop, should respond in some manner such inserting the dragged object into itself.
Attribut: ondragdrop

dragenter

The dragenter event is sent when the mouse pointer first moves over an element during a drag. It is similar to the mouseover event but occurs while dragging.
Attribut: ondragenter

dragexit

This event is sent when the mouse pointer moves away from an element during a drag. It is also called after a drop on an element. It is similar to the mouseout event but occurs during a drag.
Attribut: ondragexit

draggesture

This event is sent when the user starts dragging the element, usually by holding down the mouse button and moving the mouse.
Attribut: ondraggesture

dragover

Related to the mousemove event, this event is sent while something is being dragged over an element. The handler should indicate whether the object being dragged can be dropped.
Attribut: ondragover

input

This event is sent when a user enters text in a textbox. This event is only called when the text displayed would change, thus it is not called when the user presses non-displayable keys.
Attribut: oninput

overflow

This event is only sent to a box or other layout element with a CSS overflow property set to a value other than 'visible'. When there is not enough space to display the contents of the element at full size, the overflow event will be fired. Depending on the value of the overflow property, scrollbars may have appeared. For example, if a box has a maximum size of 100 pixels, and only enough space for 80 pixels is available, the overflow event will be sent to the box. If the size changes, for example, by the user resizing the window, the underflow event will be fired when enough space becomes available.
Attribut: onoverflow

popuphidden

This event is sent to a popup after it has been hidden.
Attribut: onpopuphidden

popuphiding

This event is sent to a popup when it is about to be hidden.
Attribut: onpopuphiding

popupshowing

This event is sent to a popup just before it is popped open. This handler is usually used to dynamically set the contents when the user requests to display it. Returning false from this event handler prevents the popup from appearing.
Attribut: onpopupshowing

popupshown

This is event is sent to a popup after it has been opened, much like the onload event is sent to a window when it is opened.
Attribut: onpopupshown

syncfrompreference

This event is sent when the element is being changed because a preference changed, or when an element is initialized from a preference. This event will only be sent to elements connected to a preference and in a prefwindow. This is not a real event instead it is just a function call and must use the attribute syntax. The script may return a value to set the element to a specific value rather than the value of the preference. This event is usually used to adjust the preference value so that it is more suitable for display in the user interface.
Attribut: onsyncfrompreference

synctopreference

This event is sent when the element connected to a preference has changed. This event will only be sent to elements connected to a preference and in a prefwindow. This is not a real event instead it is just a function call and must use the attribute syntax. The script may return a value to set the preference to a specific value rather than the value of the element.
Attribut: onsynctopreference

underflow

This event is sent to an element when there becomes enough space to display it at full size. This applies to boxes and other layout elements with a CSS overflow property other than 'visible'. The underflow event can be used to indicate that a scrolling mechanism is no longer necessary.
Attribut: onunderflow

Zugänglichkeitsereignisse (Accessibility)

Mit diesen Ereignissen wird das Zugänglichkeitssystem über Veränderungen an einem Element benachrichtigt. Sie würden diese normalerweise nicht selbst verwenden.

Ereignis Beschreibung

CheckboxStateChange

This event is sent when a checkbox is checked or unchecked, either by the user or a script. Normally, you would use the command event to listen to checkbox changes, however, the command event is only sent when the user modifies the value, while the CheckboxStateChange event is also sent when a script modifies the checked property of a checkbox. For user changes, the CheckboxStateChange event is sent before the command event. The CheckboxStateChange event does not bubble.

RadioStateChange

This event is sent when a radio button is selected, either by the user or a script. Normally, you would use the command event to listen to radio button selection changes, however, the command event is only sent when the user changes the selected radio button, while the RadioStateChange event is also sent when a script modifies the selection. For user changes, the RadioStateChange event is sent before the command event. The RadioStateChange event bubbles so you can also attach the event handler to the enclosing radiogroup.

{{ languages( { "pl": "pl/XUL/Zdarzenia" } ) }}

Quelltext der Version

<p>{{ XULRefEvent() }}
</p><p>Die folgenden Tabellen beschreiben die Ereignisbehandlungsroutinen, welche die meisten XUL-Elemente betreffen. Die 'Lauscher' (Listener) für die Ereignisse können mit dem Element mittels <a href="de/DOM/element.addEventListener"> addEventListener</a> verknüpft werden, <a href="de/DOM/element.removeEventListener"> removeEventListener</a> hebt diese Verknüpfung wieder auf.
</p><p>Für einige Ereignisse kann die Verknüpfung auch über Attribute erfolgen. Hierbei muss jedoch berücksichtigt werden, dass gleichzeitig nur ein Ereignislauscher verknüpft sein kann. Eventuell bereits bestehende Verknüpfungen mit Lauschern werden aufgelöst. Der Name des Attributs entspricht dem Namen des Ereignisses mit einem vorangestellten 'on'.
</p>
<h3 name="Geerbte_DOM-Ereignisse"> Geerbte DOM-Ereignisse </h3>
<table class="fullwidth-table">
<tbody><tr>
<th>Ereignis</th>
<th>Beschreibung</th>
</tr>
<tr>
<td>
<p>blur
</p>
</td>
<td>
<p>Das Gegenteil des focus-Ereignisses; das blur-Ereignis tritt auf, nachdem ein Element den Eingabefokus verloren hat.
<br><b>Attribut:</b> onblur
</p>
</td>
</tr>
<tr>
<td>
<p>change
</p>
</td>
<td>
<p>Dieses Ereignis wird gesendet, wenn der Wert eines Textfelds geändert wird, aber erst wenn der Eingabefokus auf ein anderes Element übergeht.
<br><b>Attribut:</b> onchange
</p>
</td>
</tr>
<tr>
<td>
<p>click
</p>
</td>
<td>
<p>This event is sent when a mouse button is pressed and released. You can determine which mouse button was clicked by retrieving the <code>button</code> property of the event object. This event is also sent when the user double-clicks with the mouse. The <code>detail</code> property specifies how many clicks occurred. You can also check for triple-clicks in a similar manner. You should not use this event in XUL to respond to user actions; the <code>command</code> event should be used instead.
<br><b>Attribut:</b> onclick
</p>
</td>
</tr>
<tr>
<td>
<p>dblclick
</p>
</td>
<td>
<p>This event is like the click event except it is only sent when the user double clicks with the mouse. This is an alternative to checking the detail property in the click event.
<br><b>Attribut:</b> ondblclick
</p>
</td>
</tr>
<tr>
<td>
<p>DOMMouseScroll
</p>
</td>
<td>
<p>This event is sent when the mouse wheel is moved, whether it results in content being scrolled or not.<br>
The target of this event is the element that was under the mouse pointer when the mouse wheel was scrolled, similar to the <code>click</code> event.
</p>
</td>
</tr>
<tr>
<td>
<p>focus
</p>
</td>
<td>
<p>The focus event is sent to an element when it receives the focus. Once an element has the focus, keyboard events are sent to it. The focus can be changed by clicking on an element or by pressing TAB to switch to the next element is sequence.
<br><b>Attribut:</b> onfocus
</p>
</td>
</tr>
<tr>
<td>
<p>keydown
</p>
</td>
<td>
<p>Das Ereignis keydown wird einem Element gesendet, das den Eingabefokus hat, wenn eine Taste gedrückt aber nicht losgelassen ist.
<br><b>Attribut:</b> onkeydown
</p>
</td>
</tr>
<tr>
<td>
<p>keypress
</p>
</td>
<td>
<p>The keypress event is sent to an element that has the focus and a key is pressed and released. When the user presses a key, the keydown event is first sent, followed by the keypress event and then the keyup event. In a textbox, a user normally can hold down a key to repeat a character In this case, multiple sets of key events are sent as if the user rapidly pressed the same key repeatedly.
<br><b>Attribut:</b> onkeypress
</p>
</td>
</tr>
<tr>
<td>
<p>keyup
</p>
</td>
<td>
<p>Das Ereignis keyup wird einem Element gesendet, das den Eingabefokus hat, wenn eine Taste losgelassen wird.
<br><b>Attribut:</b> onkeyup
</p>
</td>
</tr>
<tr>
<td>
<p>load
</p>
</td>
<td>
<p>This event is sent to the window after it has been fully loaded. You should place this event handler on the window element. This event may also be used on the image element, or an element that accepts an image attribute, and will be fired when the image has finished loading. For images, this event does not bubble up the element tree, so it will not conflict with the window's load event.
<br><b>Attribut:</b> onload
</p>
</td>
</tr>
<tr>
<td>
<p>mousedown
</p>
</td>
<td>
<p>Dieses Ereignis wird gesendet, wenn die Maustaste über einem Element gedrückt aber nicht losgelassen wird.
<br><b>Attribut:</b> onmousedown
</p>
</td>
</tr>
<tr>
<td>
<p>mousemove
</p>
</td>
<td>
<p>Dieses Ereignis wird wiederholt gesendet, während der Mauszeiger über einem Element bewegt wird.
<br><b>Attribut:</b> onmousemove
</p>
</td>
</tr>
<tr>
<td>
<p>mouseout
</p>
</td>
<td>
<p>Dieses Ereignis wird einem Element gesendet, wenn der Benutzer den Mauszeiger aus dem Bereich des Elements bewegt. Es ist das Gegenstück zum Ereignis mouseover.
<br><b>Attribut:</b> onmouseout
</p>
</td>
</tr>
<tr>
<td>
<p>mouseover
</p>
</td>
<td>
<p>This event is sent to an element when the mouse first moves over an element. You can use this event to provide feedback to the user.
<br><b>Attribut:</b> onmouseover
</p>
</td>
</tr>
<tr>
<td>
<p>mouseup
</p>
</td>
<td>
<p>Dieses Ereignis wird gesendet, wenn die Maustaste über einem Element losgelassen wird.
<br><b>Attribut:</b> onmouseup
</p>
</td>
</tr>
<tr>
<td>
<p>select
</p>
</td>
<td>
<p>Dieses Ereignis wird einer listbox bzw. einem tree bei Auswahl eines Eintrags gesendet.
<br><b>Attribut:</b> onselect
</p>
</td>
</tr>
<tr>
<td>
<p>unload
</p>
</td>
<td>
<p>Dieses Ereignis wird einem Fenster gesendet, wenn das Fenster geschlossen wurde. Dieses erfolgt nach dem Ereignis close. Die Behandlungsroutine für dieses Ereignis sollte dem window-Element zugewiesen werden.
<br><b>Attribut:</b> onunload
</p>
</td>
</tr>
</tbody></table>
<h3 name="Ver.C3.A4nderungs-DOM-Ereignisse"> Veränderungs-DOM-Ereignisse </h3>
<table class="fullwidth-table">
<tbody><tr>
<th>Ereignis</th>
<th>Beschreibung</th>
</tr>
<tr>
<td>
<p>DOMAttrModified
</p>
</td>
<td>
<p>This event is sent to an element when one of its attributes is modified. In the event handler, you can retrieve the attribute that was modified using the event's attrName property, and you can retrieve the old and new values of the attribute using the event's prevValue and newValue properties.
</p>
</td>
</tr>
<tr>
<td>
<p>DOMMenuItemActive
</p>
</td>
<td>
<p>This event is sent when a menu or menuitem is hovered over, or highlighted. Dieses Ereignis steigt auf.
</p>
</td>
</tr>
<tr>
<td>
<p>DOMMenuItemInactive
</p>
</td>
<td>
<p>This event is sent when a menu or menuitem is no longer being hovered over, or highlighted. Dieses Ereignis steigt auf.
</p>
</td>
</tr>
<tr>
<td>
<p>DOMNodeInserted
</p>
</td>
<td>
<p>This event is sent when a node is added as a child of a element. If you capture this element at the document level, you can be notified of document changes.
</p>
</td>
</tr>
<tr>
<td>
<p>DOMNodeRemoved
</p>
</td>
<td>
<p>This event is sent when a node is removed from an element. If you capture this element at the document level, you can be notified of document changes.
</p>
</td>
</tr>
</tbody></table>
<h3 name="Gebr.C3.A4uchliche_XUL-Ereignisse"> Gebräuchliche XUL-Ereignisse </h3>
<table class="fullwidth-table">
<tbody><tr>
<th>Ereignis</th>
<th>Beschreibung</th>
</tr>
<tr>
<td>
<p>broadcast
</p>
</td>
<td>
<p>The event handler should be placed on an observer. The broadcast event is sent when the attributes of the element (such as a broadcaster) being listened to are changed.
<br><b>Attribut:</b> onbroadcast
</p>
</td>
</tr>
<tr>
<td>
<p>close
</p>
</td>
<td>
<p>This event is sent when a request has been made to close the window when the user presses the close button. If you place an event handler on the window element, you can trap the window close. If you return false from the close handler, the window will not close. Return true to have it close normally. Note that this event is only fired when the user presses the close button on the titlebar; use the unload event to capture all attempts to unload the window.
<br><b>Attribut:</b> onclose
</p>
</td>
</tr>
<tr>
<td>
<p>command
</p>
</td>
<td>
<p>This event handler is called when an element is activated. How it is activated varies for each element and in many cases, there are several ways to activate an element. For example, a button can be activated by clicking on it with the mouse or by pressing ENTER while it has the focus. Menus can be activated by selecting them with the mouse or by pressing a shortcut key. You should always use the command event instead of click because it will be called in all of the needed cases.
<br><b>Attribut:</b> oncommand
</p>
</td>
</tr>
<tr>
<td>
<p>commandupdate
</p>
</td>
<td>
<p>This event occurs when a command update occurs on a &lt;commandset&gt; element. You would use this to update the disabled status of its commands.
<br><b>Attribut:</b> oncommandupdate
</p>
</td>
</tr>
<tr>
<td>
<p>contextmenu
</p>
</td>
<td>
<p>This event is sent to an element when the user requests to open the context menu for the element. The action to do this varies by platform, but it will typically be a right click. This handler is usually used to dynamically set the commands on a menu when the user requests to display it, or you can use popupshowing event. Returning false from this event handler prevents the popup from appearing.
<br><b>Attribut:</b> oncontextmenu
</p>
</td>
</tr>
<tr>
<td>
<p>dragdrop
</p>
</td>
<td>
<p>This event is sent when the user releases the mouse button to drop an object being dragged. The element, if it accepts the drop, should respond in some manner such inserting the dragged object into itself.
<br><b>Attribut:</b> ondragdrop
</p>
</td>
</tr>
<tr>
<td>
<p>dragenter
</p>
</td>
<td>
<p>The dragenter event is sent when the mouse pointer first moves over an element during a drag. It is similar to the mouseover event but occurs while dragging.
<br><b>Attribut:</b> ondragenter
</p>
</td>
</tr>
<tr>
<td>
<p>dragexit
</p>
</td>
<td>
<p>This event is sent when the mouse pointer moves away from an element during a drag. It is also called after a drop on an element. It is similar to the mouseout event but occurs during a drag.
<br><b>Attribut:</b> ondragexit
</p>
</td>
</tr>
<tr>
<td>
<p>draggesture
</p>
</td>
<td>
<p>This event is sent when the user starts dragging the element, usually by holding down the mouse button and moving the mouse.
<br><b>Attribut:</b> ondraggesture
</p>
</td>
</tr>
<tr>
<td>
<p>dragover
</p>
</td>
<td>
<p>Related to the mousemove event, this event is sent while something is being dragged over an element. The handler should indicate whether the object being dragged can be dropped.
<br><b>Attribut:</b> ondragover
</p>
</td>
</tr>
<tr>
<td>
<p>input
</p>
</td>
<td>
<p>This event is sent when a user enters text in a textbox. This event is only called when the text displayed would change, thus it is not called when the user presses non-displayable keys.
<br><b>Attribut:</b> oninput
</p>
</td>
</tr>
<tr>
<td>
<p>overflow
</p>
</td>
<td>
<p>This event is only sent to a box or other layout element with a CSS overflow property set to a value other than 'visible'. When there is not enough space to display the contents of the element at full size, the overflow event will be fired. Depending on the value of the overflow property, scrollbars may have appeared. For example, if a box has a maximum size of 100 pixels, and only enough space for 80 pixels is available, the overflow event will be sent to the box. If the size changes, for example, by the user resizing the window, the underflow event will be fired when enough space becomes available.
<br><b>Attribut:</b> onoverflow
</p>
</td>
</tr>
<tr>
<td>
<p>popuphidden
</p>
</td>
<td>
<p>This event is sent to a popup after it has been hidden.
<br><b>Attribut:</b> onpopuphidden
</p>
</td>
</tr>
<tr>
<td>
<p>popuphiding
</p>
</td>
<td>
<p>This event is sent to a popup when it is about to be hidden.
<br><b>Attribut:</b> onpopuphiding
</p>
</td>
</tr>
<tr>
<td>
<p>popupshowing
</p>
</td>
<td>
<p>This event is sent to a popup just before it is popped open. This handler is usually used to dynamically set the contents when the user requests to display it. Returning false from this event handler prevents the popup from appearing.
<br><b>Attribut:</b> onpopupshowing
</p>
</td>
</tr>
<tr>
<td>
<p>popupshown
</p>
</td>
<td>
<p>This is event is sent to a popup after it has been opened, much like the onload event is sent to a window when it is opened.
<br><b>Attribut:</b> onpopupshown
</p>
</td>
</tr>
<tr>
<td>
<p>syncfrompreference
</p>
</td>
<td>
<p>This event is sent when the element is being changed because a preference changed, or when an element is initialized from a preference. This event will only be sent to elements connected to a preference and in a <a href="de/XUL/prefwindow"> prefwindow</a>. This is not a real event instead it is just a function call and must use the attribute syntax. The script may return a value to set the element to a specific value rather than the value of the preference. This event is usually used to adjust the preference value so that it is more suitable for display in the user interface.
<br><b>Attribut:</b> onsyncfrompreference
</p>
</td>
</tr>
<tr>
<td>
<p>synctopreference
</p>
</td>
<td>
<p>This event is sent when the element connected to a preference has changed. This event will only be sent to elements connected to a preference and in a <a href="de/XUL/prefwindow"> prefwindow</a>. This is not a real event instead it is just a function call and must use the attribute syntax. The script may return a value to set the preference to a specific value rather than the value of the element.
<br><b>Attribut:</b> onsynctopreference
</p>
</td>
</tr>
<tr>
<td>
<p>underflow
</p>
</td>
<td>
<p>This event is sent to an element when there becomes enough space to display it at full size. This applies to boxes and other layout elements with a CSS overflow property other than 'visible'. The underflow event can be used to indicate that a scrolling mechanism is no longer necessary.
<br><b>Attribut:</b> onunderflow
</p>
</td>
</tr>
</tbody></table>
<h3 name="Zug.C3.A4nglichkeitsereignisse_.28Accessibility.29"> Zugänglichkeitsereignisse (Accessibility) </h3>
<p>Mit diesen Ereignissen wird das Zugänglichkeitssystem über Veränderungen an einem Element benachrichtigt. Sie würden diese normalerweise nicht selbst verwenden.
</p>
<table class="fullwidth-table">
<tbody><tr>
<th>Ereignis</th>
<th>Beschreibung</th>
</tr>
<tr>
<td>
<p>CheckboxStateChange
</p>
</td>
<td>
<p>This event is sent when a <a href="de/XUL/checkbox"> checkbox</a> is checked or unchecked, either by the user or a script. Normally, you would use the command event to listen to checkbox changes, however, the command event is only sent when the user modifies the value, while the CheckboxStateChange event is also sent when a script modifies the checked property of a checkbox. For user changes, the CheckboxStateChange event is sent before the command event. The CheckboxStateChange event does not bubble.
</p>
</td>
</tr>
<tr>
<td>
<p>RadioStateChange
</p>
</td>
<td>
<p>This event is sent when a <a href="de/XUL/radio"> radio</a> button is selected, either by the user or a script. Normally, you would use the command event to listen to radio button selection changes, however, the command event is only sent when the user changes the selected radio button, while the RadioStateChange event is also sent when a script modifies the selection. For user changes, the RadioStateChange event is sent before the command event. The RadioStateChange event bubbles so you can also attach the event handler to the enclosing <a href="de/XUL/radiogroup"> radiogroup</a>.
</p>
</td>
</tr>
</tbody></table>
{{ languages( { "pl": "pl/XUL/Zdarzenia" } ) }}
Zu dieser Version zurücksetzen