export class Redirect
export class Redirect
exported from angular2/router defined in angular2/src/router/route_config_impl.ts (line 139)
Redirect
is a type of RouteDefinition
used to route a path to a canonical route.
It has the following properties:
path
is a string that uses the route matcher DSL.redirectTo
is an array representing the link DSL.
Note that redirects do not affect how links are generated. For that, see the useAsDefault
option.
Example
Constructor
constructor({path, redirectTo}: {path: string, redirectTo: any[]})
constructor({path, redirectTo}: {path: string, redirectTo: any[]})
Not Yet Documented
Members
path : string
path : string
Not Yet Documented
redirectTo : any[]
redirectTo : any[]
Not Yet Documented
name : string
name : string
Not Yet Documented
loader : Function
loader : Function
Not Yet Documented
data : any
data : any
Not Yet Documented
aux : string
aux : string
Not Yet Documented
useAsDefault : boolean
useAsDefault : boolean
Not Yet Documented