- Recorded Live
- Chapter 11
- E67: Self-Contained
Event Propagation & Defaults
CH11 / E67|Fine-Tuning Mouse Gestures|Mon, 28 Jan ’13
Registering events on the document causes problems with our tests, and it’s not very clean. We refactor our code and tests to make the drawing area entirely self-contained, only registering event handlers on itself.