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:

Example

import {RouteConfig, AuxRoute} from 'angular2/router'; @RouteConfig([ new AuxRoute({path: '/home', component: HomeCmp}) ]) class MyApp {}

Constructor

constructor({path, component, name}: {path: string, component: Type, name?: string})

Not Yet Documented

Members

data : {[key: string]: any}

Not Yet Documented

path : string

Not Yet Documented

component : Type

Not Yet Documented

name : string

Not Yet Documented

aux : string

Not Yet Documented

loader : Function

Not Yet Documented

redirectTo : any[]

Not Yet Documented

useAsDefault : boolean

Not Yet Documented