Christian Heilmann

Event Handling versus Event Delegation

Sunday, September 24th, 2006 at 10:51 pm

If you ever wondered how flexible web applications with hundreds of objects that need event handling are built, the trick behind it is called “Event Delegation”.

I didn’t come up with it, and it is nothing new either, but as some people seem to get confused when the term crops up, I’ve written a quick example why event delegation helps keeping web apps light and fast.

Tags: , , , , , ,

Share on Mastodon (needs instance)

Share on Twitter

My other work: