Skip to content

Instantly share code, notes, and snippets.

@creyn

creyn/index.js Secret

Created April 22, 2018 09:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save creyn/b95fefaea85fba3541f5e16601329c17 to your computer and use it in GitHub Desktop.
Save creyn/b95fefaea85fba3541f5e16601329c17 to your computer and use it in GitHub Desktop.
Droga Programisty : Szybkie Palce : addEventListener
// Rejestracja nasluchiwania na nacisniecie klawisza
// Mowimy przygladarce ze jestesmy zainteresowani zdarzeniem keydown
document.addEventListener('keydown', NacisnietoPrzycisk);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment