读Ext之六(延迟任务的执行)
摘要:
Ext.util.DelayedTask类从名字上就可以看出它是延迟任务的执行。即指定时间之后执行任务。整个类如下:Ext.util.DelayedTask = function(fn, scope, args){ var me = this, id, call = function(){ clearInterval(id); id = null; fn.apply(scope, args || []); }; me.delay = function(delay, newFn, newScope, newA... 阅读全文
posted @ 2012-04-27 10:08
snandy
阅读(6595)
评论(0)
推荐(3)