DispatchKeyEventParameter
Constructors
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).
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).