You're reading the 1.x docs. Go to latest

Skip to content

ui-router-server / redirects / CompiledRoute

Interface: CompiledRoute ​

Defined in: redirects.ts:132

One url-addressable state, compiled by compileRoutes.

Properties ​

PropertyTypeDescriptionDefined in
matcherCompiledMatcherThe compiled pattern, for !exec | exec and !format | format.redirects.ts:138
namestringThe state name the pattern came from.redirects.ts:134
patternstringThe full pattern: this state's url appended to its ancestors'.redirects.ts:136
redirectStatusCode?RedirectStatusCodeThe state's declared redirect status (see RouteDeclaration.redirectStatusCode).redirects.ts:142
redirectTo?string | RedirectTargetThe state's declared redirect, carried through unresolved (see RouteDeclaration.redirectTo).redirects.ts:140