Class Roo.util.DelayedTask
Provides a convenient method of performing setTimeout where a new
timeout cancels the old timeout. An example would be performing validation on a keypress.
You can use this class to buffer
the keypress events for a certain number of milliseconds, and perform only if they stop
for that amount of time.
Config Options - Has None
Public Properties - Has None
Public Methods
|
Create a new Roo.util.DelayedTask
Create a new Roo.util.DelayedTask
- Parameters:
-
Function fn
- (optional) The default function to timeout
-
Object scope
- (optional) The default scope of that timeout
-
Array args
- (optional) The default Array of arguments
|
|