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

    Type Alias RouteOptionState

    Options that are applied to the html element when the route is active, inactive, loading, or disabled.

    type RouteOptionState = {
        absolute?: boolean;
        class?: string | string[];
        querystring?: boolean;
    }
    Index

    Properties

    absolute?: boolean

    When true, the effects will only be applied if the path is an exact match.

    This is useful for when you want to apply the effects to a specific route, but not when it's part of a parent route.

    class?: string | string[]

    The css class(es) to add when this state is currently active.

    querystring?: boolean

    When true, the effects will only be applied if the querystring is an exact match.