:: Home >>

setTimeout

Calls the function after the specified delay.

Syntax

obj.setTimeout(func, delay);

Parameters

func (function) - function to be called
delay (number) - time interval in milliseconds

Example

obj.setTimeout(doSomething, 500);

Remarks

AW setTimeout method is exactly the same as the standard window.setTimeout() except the supplied function is called as an object method so that this keyword refers to the calling object.

Comments

No comments yet.
Comments will appear on this page and in the main forum.

Documentation:

Recent changes:

2.6.4
2.6.3
2.6.2
2.6.1
2.6.1
2.6.0
2.5.0 - 2.5.6
2.5.6
2.5.0 - 2.5.5
2.5.5