Fork me on GitHub

<link is="juicy-redirect">

Custom Element that redirects to a new URL when an attribute is changed.

It can be configured to work using window location or History API.

See README.md for docs

Redirect using window.location

Open new tab

Redirect using History API (history.pushState)

Watch console entries for events logging