A set of keyboard interactions that should be set on an element.
The type of Element that the KeyboardEvent will receive.
Optional
The tab index to set on the element.
This will be 0 if onKey is handled, or undefined otherwise.
A key handler.
This can be used for onKeyDown and onKeyUp.
The keyboard event that happened.
A set of keyboard interactions that should be set on an element.