Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I like MooTools. When they added event delegation to their library, they simply modified the existing addEvent method to parse the event name instead of adding new method after new method -- seems like a more thought out approach.

    $(selector').addEvent('click:relay(selector)', fn)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: