Builder
A builder for DispatchKeyEventRequest, which allows setting the optional parameters of the InputDomain.dispatchKeyEvent command via a lambda.
Properties
Whether the event was generated from auto repeat (default: false).
Editing commands to send with the key event (e.g., 'selectAll') (default: []). These are related to but not equal the command names used in document.execCommand and NSStandardKeyBindingResponding. See https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/editing/commands/editor_command_names.h for valid command names.
Whether the event was a system key event (default: false).
Unique key identifier (e.g., 'U+0041') (default: "").
Native virtual key code (default: 0).
Time at which the event occurred.
Type of the key event.
Text that would have been generated by the keyboard if no modifiers were pressed (except for shift). Useful for shortcut (accelerator) key handling (default: "").
Windows virtual key code (default: 0).