Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

keydown events

eventTarget.addEventListener("keydown", event => {
  if (event.isComposing || event.keyCode === 229) {
    return;
  }
  // do something
});
Source by matt-destroyer.github.io #
 
PREVIOUS NEXT
Tagged: #keydown #events
ADD COMMENT
Topic
Name
5+3 =