| DelayedTask( [Function fn ], Object scope , [Array args ] )
+also setup a delayed task for you to buffer events.Public PropertiesThis class has no public properties. Public Methods|
| 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:fn : Function(optional) The default function to call. scope : ObjectThe default scope (The this reference) in which the
-function is called. If not specified, this will refer to the browser window. args : Array(optional) The default Array of arguments. Returns: | DelayedTask | | cancel()
- :
- voidCancel the last queued timeout Cancel the last queued timeout | DelayedTask | | delay( Number delay , [Function newFn ], [Object newScope ], [Array newArgs ] )
- :
+function is called. If not specified, this will refer to the browser window.args : Array(optional) The default Array of arguments. Returns: | DelayedTask | | cancel()
+ :
+ voidCancel the last queued timeout Cancel the last queued timeout | 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:delay : NumberThe milliseconds to delay newFn : Function(optional) Overrides function passed to constructor newScope : Object(optional) Overrides scope passed to constructor. Remember that if no scope
is specified, this will refer to the browser window. newArgs : Array(optional) Overrides args passed to constructor Returns: | DelayedTask |
Public EventsThis class has no public events.
\ No newline at end of file
|