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://dotland.deno.dev/x/fresh@1.6.7/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