Optionalkey: string
Keys such as ctrl+shift+=; separate several with commas.
Optionalhandler: The handler to remove.
Optionalkeydown?: (event: KeyboardEvent) => unknownCalled when the shortcut key is pressed.
Optionalkeyup?: (event: KeyboardEvent) => unknownCalled when the shortcut key is released.
Unbinds keys. With a handler, only that handler is removed; otherwise the key's custom handlers and its built-in shortcut stop. Without arguments, all shortcuts pause.