ui.util.setTimeout

Calls a function after a fixed time delay.

Returns a key that can be passed to ui.util.clearTimeout to remove the timeout.

Usage Returns
ui.util.setTimeout(func, delay) Number
Argument Type Details
func
Function The function to run at the specified interval.
delay
Number The time, in milliseconds (thousandths of a second), the timer should delay before execution of the specified function.
Create a Mobile Website
View Site in Mobile | Classic
Share by: