Something went wrong. Try again.
Monorepo for Tangled tangled.org
Something went wrong. Try again.
TypeScript
123456789import { navigating } from "$app/state";
// the old page stays mounted while the destination loads, pulse the clicked rowexport function navigatingTo(href: string): boolean { const to = navigating.to?.url; if (!to) return false; return to.pathname === new URL(href, to.origin).pathname;}