33. Mouse Events
In This Chapter
• Learn how to listen to the mouse using the various mouse events
• Understand the MouseEvent object
• Deal with the Mouse Wheel
One of the most common ways people (and possibly cats) interact with their computers is by using a pointing device known as a mouse (Figure 33.1).
This magical device allows you to accomplish great things by moving it around with your hands and clicking around with your fingers. Using them as a, um...user is one thing. As a developer, trying to make your code work with a mouse is something else. That’s where this chapter comes in.
Meet ...
Get JavaScript Absolute Beginner's Guide, 2nd 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.