Line 120:
Line 120:
| <tt>"keydown"</tt>
| <tt>"keydown"</tt>
| <i>element</i><tt>.onkeydown</tt>
| <i>element</i><tt>.onkeydown</tt>
−
| rowspan="3" | [http://www.w3.org/TR/DOM-Level-3-Events/#events-keyboardevents DOM Level 3]
+
| rowspan="9" | [http://www.w3.org/TR/DOM-Level-3-Events/#events-keyboardevents DOM Level 3]
|-
|-
| <tt>"keypress"</tt>
| <tt>"keypress"</tt>
Line 127:
Line 127:
| <tt>"keyup"</tt>
| <tt>"keyup"</tt>
| <i>element</i><tt>.onkeyup</tt>
| <i>element</i><tt>.onkeyup</tt>
+
|-
+
| <tt>"click"</tt>
+
| <i>element</i><tt>.onclick</tt>
+
|-
+
| <tt>"mousedown"</tt>
+
| <i>element</i><tt>.onmousedown</tt>
+
|-
+
| <tt>"mouseup"</tt>
+
| <i>element</i><tt>.onmouseup</tt>
+
|-
+
| <tt>"mouseover"</tt><sup>[1]</sup>
+
| <i>element</i><tt>.onmouseover</tt>
+
|-
+
| <tt>"mouseout"</tt><sup>[1]</sup>
+
| <i>element</i><tt>.onmouseout</tt>
+
|-
+
| <tt>"mousemove"</tt><sup>[1]</sup>
+
| <i>element</i><tt>.onmousemove</tt>
|-
|-
| <tt>"touchstart"</tt>
| <tt>"touchstart"</tt>
Line 148:
Line 166:
| <tt>window.ondeviceorientation</tt>
| <tt>window.ondeviceorientation</tt>
|}
|}
+
<sup>[1]</sup> The mouseover, mouseout, and mousemove events only work for clickable elements, i.e., elements with a defined <tt>onclick</tt> handler.
+
<b>TODO:</b> <i>Add non-input events like "load"</i>
<b>TODO:</b> <i>Add non-input events like "load"</i>
−
Note that only the following buttons are recognized with the key events:
+
+
Only the following buttons are recognized with the key events:
{| class='wikitable'
{| class='wikitable'