Skip to Content
0
Former Member
Feb 08, 2016 at 03:43 PM

Personas 3.0: .setTimeout(): The time interval does not show impact.

1423 Views

Hi Personas experts,

I am trying some UI events that can be triggered by the timeout function. But it seems that the timeout intervel does not effect. My JS look like this:

setTimeout(myEventHandler(),3000); //I expect the event handler func to be called after 3 secs.

and

window.setTimeout(myEventHandler(), 3000);

It seems that no matter which value I used, the handler function is called in the same time interval.

Does anyone have idea why the time interval 3000 does not have impact?

Thanks.

Dong