Google open-sources JsAction, a JavaScript event delegation library
1–10 of 48 posts
Re: Google open-sources JsAction, a JavaScript event delegation library
#2Re: Google open-sources JsAction, a JavaScript event delegation library
#3Re: Google open-sources JsAction, a JavaScript event delegation library
#4Interesting. This might have come from the Google+ development team, as this and something called "jsmodel" are part of that product. You can see traces of both of these in the DOM of plus.google.com
Re: Google open-sources JsAction, a JavaScript event delegation library
#5Nitpicking aside, it looks like an interesting approach to decoupling the DOM from your event handlers. Personally I'm happy sticking with the standard on{event} attributes for really simple stuff.
Re: Google open-sources JsAction, a JavaScript event delegation library
#6Re: Google open-sources JsAction, a JavaScript event delegation library
#7Is it just me, or does this not seem "tiny" at all? It seems to require a bunch of Closure modules, and on top of that the source itself is hundreds of lines (albeit with comments). Nitpicking aside, it looks like an interesting approach to decoupling the DOM from your event handlers. Personally I'm happy sticking with the standard on{event} attributes for really simple stuff.