• Overview
@angular/router

ResourceContext

interface

The contextual information provided to a resources function.

API

    
      interface ResourceContext {}
    
    

params

Signal<Params>

The matrix parameters of the route.

queryParams

Signal<Params>

The query parameters of the route.

fragment

Signal<string | null>

The URL fragment.

data

Signal<Record<string, any>>

Data provided in the route configuration.

snapshot

ActivatedRouteSnapshot

The static activated route snapshot for this navigation. Useful for reading initial static configuration statically without reacting to future parameter changes on reused routes.

Jump to details