Bubbling vs Capturing browser events

W3C’s DOM Level 2 Events API specifies two phases for events: capturing and bubbling. The third argument to the addEventListener method lets you specify which phase you’re concerned with when you register to be notified of events on an element.

Source: Using event capturing to improve Basecamp page load times - (37signals)

added 2012-03-14T14:33:05Z by anders

Tags: javascript dom performance