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);VC++.NET入门
Davis Chapman / 中国电力出版社 / 2003-5 / 55.0
《VC++.NET入门》提供了学习Visual C++工具的循序渐进的指导和创建应用程序的向导。你将学习设计应用程序窗口、使用控件、显示图形、创建SDI和MDI应用程序、操作数据库以及创建多任务程序,也将学习在微软的新.E平台下使用Visual C++的一些基本技巧,以及学习它影响设计和编写应用程序的方式。一起来看看 《VC++.NET入门》 这本书的介绍吧!
