Cleanup knockout commands and replaced EventKeyCode with native KeyboardEvent.key

This commit is contained in:
djmaze 2020-09-17 17:47:35 +02:00
parent d06fed09d6
commit 7ac8143f34
9 changed files with 87 additions and 118 deletions

View file

@ -255,29 +255,6 @@ export const ClientSideKeyName = {
MessageAttachmnetControls: 10
};
/**
* @enum {number}
*/
export const EventKeyCode = {
Backspace: 8,
Tab: 9,
Enter: 13,
Esc: 27,
PageUp: 33,
PageDown: 34,
Left: 37,
Right: 39,
Up: 38,
Down: 40,
End: 35,
Home: 36,
Space: 32,
Insert: 45,
Delete: 46,
A: 65,
S: 83
};
/**
* @enum {number}
*/