mootools
One feature I heard Moo developers hinting at was the future addition of event delegation to the MooTools JavaScript library. MooTools Core Developer, Aaron Newton, wrote a post today about a plugin he's created that does just that.
我听到Moo开发人员暗示的一项功能是,将来会将事件委托添加到MooTools JavaScript库中。 MooTools核心开发人员Aaron Newton今天写了一篇关于他所创建的插件的帖子。
From the article:
从文章:
Event delegation is a common practice where by you attach an event listener to a parent object to monitor its children rather than attach events to all the children. It's far more efficient when you have numerous items on a page that you want to interact with.
事件委托是一种常见的做法,您可以将事件侦听器附加到父对象以监视其子对象,而不是将事件附加到所有子对象。 当页面上有许多要与之交互的项目时,效率会大大提高。
I don't know of any concrete plans to incorporate this functionality into MooTools 1.3 but I assume they will. I strongly suggest MooTools developers . I also recommend this article for jQuery users as .
我不知道有任何具体的计划将此功能集成到MooTools 1.3中,但是我想他们会的。 我强烈建议MooTools开发人员 。 我也向jQuery用户推荐这篇文章,因为 。
Exciting times in the framework world!
框架世界激动人心的时代!
翻译自:
mootools