The to() method of the Location interface redirects the user to another page
to()
Example
window.location.to(URL)
window.location.to("https://rhodium.com")
Last updated 1 year ago
Was this helpful?