8
0

keyobserver.md 309 B

  • Expected initialization: foo{}bar.
  • Press some keys - nothing should be added to editor's contents.
  • Check whether key events are logged to the console with proper data:
    • keyCode,
    • altKey,
    • ctrlKey (covers Ctrl and Cmd),
    • shitKey,
    • domTarget and target.