@@ -30,19 +30,19 @@ Creates a new keyboard event with the specified type and options.
3030#### Parameters
3131
3232- ` type ` (* string* ) - The type of keyboard event to create. Can be either:
33- - `'keydown'` - Key pressed down
34- - `'keyup'` - Key released
33+ - `'keydown'` - Key pressed down
34+ - `'keyup'` - Key released
3535
3636- ` options ` (* object* ) - Configuration options for the keyboard event:
37- - `key` (*string*) - The key value (e.g. 'Enter', 'a', 'ArrowLeft')
38- - `keyCode` (*number*) - The key code (optional if key is specified)
39- - `which` (*number*) - The which code (optional if key is specified)
40- - `ctrlKey` (*boolean*) - Whether Ctrl key is pressed
41- - `shiftKey` (*boolean*) - Whether Shift key is pressed
42- - `altKey` (*boolean*) - Whether Alt key is pressed
43- - `metaKey` (*boolean*) - Whether Meta/Command key is pressed
44- - `bubbles` (*boolean*) - Whether event bubbles up through DOM
45- - `cancelable` (*boolean*) - Whether event can be canceled
37+ - `key` (*string*) - The key value (e.g. 'Enter', 'a', 'ArrowLeft')
38+ - `keyCode` (*number*) - The key code (optional if key is specified)
39+ - `which` (*number*) - The which code (optional if key is specified)
40+ - `ctrlKey` (*boolean*) - Whether Ctrl key is pressed
41+ - `shiftKey` (*boolean*) - Whether Shift key is pressed
42+ - `altKey` (*boolean*) - Whether Alt key is pressed
43+ - `metaKey` (*boolean*) - Whether Meta/Command key is pressed
44+ - `bubbles` (*boolean*) - Whether event bubbles up through DOM
45+ - `cancelable` (*boolean*) - Whether event can be canceled
4646
4747#### Returns
4848
0 commit comments