Callback type
ActiveLink
From mothwing ยท src/config.js:97
Decides what a link on a page is to it: "page" for the page itself, "section" for a section it's in, false for neither. undefined leaves it to the default.
ActiveLink(
href: string,
route: Route
): false | "page" | "section" | undefinedParameters
href | string | |
|---|---|---|
route | Route |
Returns
false | "page" | "section" | undefined