Distill

码农软件 · 软件分类 · 其他jQuery插件 · 2020-01-08 19:13:11

软件介绍

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);

本文地址:https://codercto.com/soft/d/22953.html

算法(第4版)

算法(第4版)

塞奇威克 (Robert Sedgewick)、韦恩 (Kevin Wayne) / 谢路云 / 人民邮电出版社 / 2012-10-1 / 99.00元

本书全面讲述算法和数据结构的必备知识,具有以下几大特色。  算法领域的经典参考书 Sedgewick畅销著作的最新版,反映了经过几十年演化而成的算法核心知识体系  内容全面 全面论述排序、搜索、图处理和字符串处理的算法和数据结构,涵盖每位程序员应知应会的50种算法  全新修订的代码 全新的Java实现代码,采用模块化的编程风格,所有代码均可供读者使......一起来看看 《算法(第4版)》 这本书的介绍吧!

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具