39

Keyboard Events

In this Chapter

  • Listen and react to the keyboard

  • Understand how to work with the various keyboard-related events

  • See some examples that highlight how common keyboard scenarios work

We spend a lot of time in various applications tapping away at our keyboards. In case you are wondering what a keyboard looks like, Figure 39.1 features a sweet one from I think about a hundred years ago.

images

FIGURE 39.1

What a keyboard might look like…in a museum probably

Anyway, our computers (more specifically, the applications that run on them) just know how to deal with our board of plastic depressible keys. You never really think about ...

Get Javascript Absolute Beginner's Guide, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.