X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..c8256059947f3aa8f5b0a9a2acf55e2142bb4742:/docs/source/TaskMgr.html diff --git a/docs/source/TaskMgr.html b/docs/source/TaskMgr.html index 6d43bd4d..9e9345c6 100644 --- a/docs/source/TaskMgr.html +++ b/docs/source/TaskMgr.html @@ -1,13 +1,14 @@
+/*! - * Ext JS Library 3.0.3 - * Copyright(c) 2006-2009 Ext JS, LLC + * Ext JS Library 3.2.1 + * Copyright(c) 2006-2010 Ext JS, Inc. * licensing@extjs.com * http://www.extjs.com/license */ @@ -37,6 +38,7 @@ Ext.TaskMgr.start({ }); *+ *
See the {@link #start} method for details about how to configure a task object.
* Also see {@link Ext.util.DelayedTask}. * * @constructor @@ -108,21 +110,25 @@ Ext.util.TaskRunner = function(interval){ /** * Starts a new task. * @method start - * @param {Object} task A config object that supports the following properties:run
: Functionargs
argument if specified. If a
- * particular scope is required, be sure to specify it using the scope
argument.A config object that supports the following properties:
run
: FunctionThe function to execute each time the task is invoked. The
+ * function will be called at each interval and passed the args
argument if specified, and the
+ * current invocation count if not.
If a particular scope (this
reference) is required, be sure to specify it using the scope
argument.
Return false
from this function to terminate the task.
interval
: Numberargs
: Arrayrun
.run
. If not specified, the current invocation count is passed.
* scope
: Objectrun
function. Defaults to the task config object.duration
: Numberduration
: Numberrepeat
: Numberrepeat
: NumberBefore each invocation, Ext injects the property taskRunCount
into the task object so
+ * that calculations based on the repeat count can be performed.
See the {@link #start} method for details about how to configure a task object.
* @singleton */ -Ext.TaskMgr = new Ext.util.TaskRunner(); +Ext.TaskMgr = new Ext.util.TaskRunner(); \ No newline at end of file