View Full Version : Timers in LZX
I've been trying to implement a timer in LZX by using the JavaScript setInterval(<fn_name>, <ms>) function, but it doesn't look like this function is supported in LZX. Does anyone know if LZX offers alternative functionality that will allow me to implement a timer so that a particular function can be called repeatedly based on a time frequency?
-djs
Look at the docs for LzTimer
Great, thanks. I thought I had remembered seeing a timer implementation in LZX ;D. A question about LzTimer... will the timer continue to run until removed or will it only run until the specified delegate is invoked once? If it's the second case, is it as simple as calling resetTimer() everytime through if I want it to repeat?
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.