Distill
- 授权协议: 未知
- 开发语言:
- 操作系统: 未知
- 软件首页: http://plugins.jquery.com/project/Distill
软件介绍
If you need many event handlers there are several ways to accomplish this:
1. you can use $(node).click etc or attachEvent
2. you can use inline onclick= method
The first option can be really slow if you have a huge collection of buttons that need event handling, especially in IE, while the second option causes IE to leak and run out of memory. This is why we created JDistill, it's a small library that uses bubbling to attach event handlers to thousands of items in less than a millisecond. Distill is very easy to understand and use. It's a ultra light weight event dispatcher. To associate a node with an event, just put the object that handles the event for the node in the class attribute and prefix it with com_.
<button class='com_eventhandler'>click me</button>The example node above can be connected to an event like this:
myhandlers.eventhandler.click = function(){...}And it integrates perfectly with jQuery:
$.distill("click",myhandlers);鳥哥的Linux私房菜(第四版)
鳥哥 / 碁峰資訊股份有限公司 / 2016-1-25 / TWD 980.00
本書前三版均蟬聯電腦專業書籍Linux暢銷排行榜Top1,為地表最暢銷的Linux中文書籍! 您是有意學習Linux的小菜鳥,卻不知如何下手?您是遨遊Linux的老鳥,想要一本資料豐富的工具書?本書絕對是最佳選擇! ※鳥哥傾囊相授,內容由淺入深 書中包含了鳥哥從完全不懂Linux到現在的所有歷程,鳥哥將這幾年來的所知所學傾囊相授,以最淺顯易懂的文字帶領您進入Linux的世界。 ......一起来看看 《鳥哥的Linux私房菜(第四版)》 这本书的介绍吧!
