Function keyforward
- keyforward(
 node: HTMLElement,
 keyTarget: {
 keydown: (event: KeyboardEvent) => void;
 keyup: (event: KeyboardEvent) => void;
 },
 ): ActionReturn<
 {
 keydown: (event: KeyboardEvent) => void;
 keyup: (event: KeyboardEvent) => void;
 },
 >Parameters- node: HTMLElementTarget element. 
- keyTarget: {
 keydown: (event: KeyboardEvent) => void;
 keyup: (event: KeyboardEvent) => void;
 }An object to forward events key down / up events to as pressed. 
 Returns ActionReturn<
 {
 keydown: (event: KeyboardEvent) => void;
 keyup: (event: KeyboardEvent) => void;
 },
 >Action lifecycle methods. 
- node: HTMLElement
Provides an action to forward on key down & up events. This can be any object that has associated
keydownandkeyupmethods. See KeyStore for a store implementation.