Skip to content

Phase

Phase = "down" | "press" | "up"

Defined in: types.ts:8

When a handler runs:

  • down: every key of the shortcut became pressed;
  • press: the shortcut is held and the system repeats the key;
  • up: the shortcut stopped being pressed (a key was released, another key joined, or the page lost focus, was left or was hidden).