i need to move the element by the arrows (arrowUp arrowDown and so on)but event key/keyCode is deprecated. So what can i use instead of them?
You can use KeyboardEvent.code