@arcmantle/adapter-element
    Preparing search index...

    Interface URLPatternRouteConfig

    A RouteConfig that matches against a given URLPattern

    While URLPattern can match against protocols, hostnames, and ports, routes will only be checked for matches if they're part of the current origin. This means that the pattern is limited to checking pathname and search.

    interface URLPatternRouteConfig {
        enter?: (params: Record<string, string | undefined>) => any;
        name?: string;
        pattern: URLPattern;
        render?: (
            params: Record<string, string | undefined>,
            result?: any,
        ) => unknown;
    }

    Hierarchy (View Summary)

    Index

    Properties

    enter?: (params: Record<string, string | undefined>) => any
    name?: string
    pattern: URLPattern
    render?: (params: Record<string, string | undefined>, result?: any) => unknown