export class AuxRoute
export class AuxRoute
exported from angular2/router defined in angular2/src/router/route_config_impl.ts (line 58)
AuxRoute is a type of RouteDefinition used to define an auxiliary route.
It takes an object with the following properties:
- pathis a string that uses the route matcher DSL.
- componenta component type.
- nameis an optional- CamelCasestring representing the name of the route.
- datais an optional property of any type representing arbitrary route metadata for the given route. It is injectable via- RouteData.
Example
Constructor
constructor({path, component, name}: {path: string, component: Type, name?: string})
constructor({path, component, name}: {path: string, component: Type, name?: string})Not Yet Documented
Members
data : {[key: string]: any}
data : {[key: string]: any}
Not Yet Documented
path : string
path : string
Not Yet Documented
component : Type
component : Type
Not Yet Documented
name : string
name : string
Not Yet Documented
aux : string
aux : string
Not Yet Documented
loader : Function
loader : Function
Not Yet Documented
redirectTo : any[]
redirectTo : any[]
Not Yet Documented
useAsDefault : boolean
useAsDefault : boolean
Not Yet Documented