@mateothegreat/svelte5-router - 2.15.3
    Preparing search index...

    Function applyActiveClass

    • Applies the active class to the node if the href is the same as the current location.

      Parameters

      • href: URL

        The href to check if it is the same as the current location.

      • options: RouteOptions

        The options to apply to the node.

      • node: HTMLAnchorElement

        The node to apply the active class to.

      Returns void