Events

clicking, scrolling, stuff like that

thing.addEventListener(type, callback, useCapture);

Browser Events: Click, Scroll, and more

Fake Events: React, Hammer.js, etc

example #1

The Problem

Clicks inside Clicks

A Solution

useCapture

Event Cycle

example #2 throttle vs debounce

A Tenuous Networking Analogy

Prev Song

Every Event Matters

Prev Song

Prev Song

Prev Song

Prev Song

Not Every Event Matters

Play Song #234

Play Song #230

Play Song #240

Play Song #245

The End