• Genel Bakış
@angular/router

ResolveData

Tür Takma Adı
kararlı

Represents the resolved data associated with a particular route.

API

    
      type ResolveData = {  [key: string | symbol]: ResolveFn<unknown> | DeprecatedResolve;}
    
    

Description

Represents the resolved data associated with a particular route.

Returning a RedirectCommand directs the router to cancel the current navigation and redirect to the location provided in the RedirectCommand. Note that there are no ordering guarantees when resolvers execute. If multiple resolvers would return a RedirectCommand, only the first one returned will be used.

Detaylara atla