X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..10a866c12701c0a0afd0ac85dcdcf32a421514ac:/docs/output/Ext.util.DelayedTask.html?ds=sidebyside diff --git a/docs/output/Ext.util.DelayedTask.html b/docs/output/Ext.util.DelayedTask.html index 71fdcff3..b31b9032 100644 --- a/docs/output/Ext.util.DelayedTask.html +++ b/docs/output/Ext.util.DelayedTask.html @@ -1,4 +1,4 @@ -
Package: | Ext.util |
Defined In: | DelayedTask.js |
Class: | DelayedTask |
Extends: | Object |
The DelayedTask class provides a convenient way to "buffer" the execution of a method, +
Package: | Ext.util |
Defined In: | DelayedTask.js |
Class: | DelayedTask |
Extends: | Object |
The DelayedTask class provides a convenient way to "buffer" the execution of a method,
performing setTimeout where a new timeout cancels the old timeout. When called, the
task will wait the specified time period before executing. If durng that time period,
the task is called again, the original call will be cancelled. This continues so that
@@ -16,9 +16,11 @@ Ext.get('myInputField').on('keypress', function(){
});
Note that we are using a DelayedTask here to illustrate a point. The configuration
option buffer for addListener/on will
-also setup a delayed task for you to buffer events.
Method | Defined By | |
---|---|---|
DelayedTask( [Function fn ], [Object scope ], [Array args ] )
- The parameters to this constructor serve as defaults and are not required. The parameters to this constructor serve as defaults and are not required. Parameters:
| DelayedTask | |
cancel()
- :
- void Cancel the last queued timeout Cancel the last queued timeout Parameters:
| DelayedTask | |
delay( Number delay , [Function newFn ], [Object newScope ], [Array newArgs ] )
- :
- voidCancels any pending timeout and queues a new one Cancels any pending timeout and queues a new one Parameters:
| DelayedTask |
Method | Defined By | |
---|---|---|
DelayedTask( [Function fn ], Object scope , [Array args ] )
+ The parameters to this constructor serve as defaults and are not required. The parameters to this constructor serve as defaults and are not required. Parameters:
| DelayedTask | |
cancel()
+ :
+ void Cancel the last queued timeout Cancel the last queued timeout Parameters:
| DelayedTask | |
delay( Number delay , [Function newFn ], [Object newScope ], [Array newArgs ] )
+ :
+ voidCancels any pending timeout and queues a new one Cancels any pending timeout and queues a new one Parameters:
| DelayedTask |