Returns a callback that triggers when the Enter key is pressed.
The HTML element type.
The function to call when Enter is pressed.
A KeyboardEvent handler.
KeyboardEvent
Returns a callback that triggers when the Enter key is pressed.