Emit custom events from an input so you can do stuff like listening for "enter" and "esc" events the same way as you would "keyup".