redirect
Redirects to a specified URL.
- Use
Window.location.href
orWindow.location.replace()
to redirect tourl
. - Pass a second argument to simulate a link click (
true
- default) or an HTTP redirect (false
).
Redirects to a specified URL.
Window.location.href
or Window.location.replace()
to redirect to url
.true
- default) or an HTTP redirect (false
).