Webanizr Logo
Open / sluit menu
Module redirect

The redirect module redirects the browser to a new url / page.

syntax

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

data

The data is not used by the redirect module.

parameters

The redirect accepts the following parameter:

url__destination (required)

The url the browser needs to navigate to.

callback

Since the browser redirects there is no reliable way to perform a callback function. This parameter is not used by the redirect module.

demos

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