Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fresh/src/runtime/active_url.ts>setActiveUrl

The next-gen web framework.
Extremely Popular
Go to Latest
function setActiveUrl
import { setActiveUrl } from "https://deno.land/x/fresh@1.5.4/src/runtime/active_url.ts";

Mark active or ancestor link Note: This function is used both on the server and the client

Parameters

vnode: VNode
pathname: string