DOM Event - Keyup
About
keyup is an event that occurs when the key of the keyboard goes up.
You have also keydown
Articles Related
Example
Which key has been up ?
parent.window.addEventListener('keyup', e => {
console.log("The key ("+e.key+") has been up");
});
<h2>Just hit any key you want.</h2>