- Preparing search index...
- The search index is not available
tsmockit
Function EmitKeyEventAtElement
- EmitKeyEventAtElement(element, key, keyEvent): void
-
Parameters
-
element: HTMLInputElement
-
key: string
-
keyEvent: "input" | "keydown" | "keypress" | "keyup"
Returns void
Emit a key event at a given element