Animated URL

Demo Click on the link below to see the animation on URL

someLink | Nested someLink | anotherLink | Abhay Gupta (target blank)


Usage :


const anchor = document.querySelector('a');
anchor.addEventListener("click", (e) => {
 e.preventDefault();
 customNavigate(
  anchor.href.replace(window.location.origin, ""),
  anchor.target
 );
});


Star Fork Follow @abhaygupta08
git / Animated-URL