Webanizr Logo
Open / sluit menu
Module wait

The wait module waits a given number of seconds before passing the data to the next send module.

syntax

webanizr.send('wait', data, parameters, callback);

data

The data that will be passed to the next send module.

parameters

The redirect accepts the following parameters:

duration__wait (optional)

The number of seconds the wait module must wait before sending the data to the next module. If this parameter is not set, the wait module will wait for 4 seconds. If both the miliseconds__wait and duration__wait are set, the value of miliseconds__wait is used.

miliseconds__wait (optional)

The number of miliseconds the wait module must wait before sending the data to the next module. If this parameter is not set, the wait module will wait for 4000 seconds. If both the miliseconds__wait and duration__wait are set, the value of miliseconds__wait is used.

name__countdownvariable (optional)

The cp variabel where the number of seconds that remain are stored in. This variable is updatet every second.

callback

The function to pass the data onto after the number of seconds have passed.

demos

https://cdn.cpmodules.webanizr.com/demo/countdown-and-wait/index.html