Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

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

The next-gen web framework.
Extremely Popular
Latest
function setActiveUrl
import { setActiveUrl } from "https://deno.land/x/fresh@1.7.1/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