header

### Key events Demo

In this series of tests, the first input is bound without preventdefault. The second one is bound with preventdefault=true. (This is to test that key events have preventdefault=true by default, so the first two inputs should be identical.) The third input binds a single keycode ('a'). The fourth one binds a list of keycodes ('a', ENTER). It is important to test with both alpha and controll characters, as well as with small and big caps (only the small caps 'a' should trigger here.)

Test the keypress event.

Test the keydown event.

Test the keyup event. Preventdefault is ineffective here, since the keyup event has no default.