export interface RouteDefinition
export interface RouteDefinition
exported from angular2/router defined in angular2/src/router/route_definition.ts (line 1)
RouteDefinition
defines a route within a RouteConfig
decorator.
Supported keys:
path
oraux
(requires exactly one of these)component
,loader
,redirectTo
(requires exactly one of these)name
oras
(optional) (requires exactly one of these)data
(optional)
See also Route
, AsyncRoute
, AuxRoute
, and Redirect
.
Members
path : string
path : string
Not Yet Documented
aux : string
aux : string
Not Yet Documented
component : Type | ComponentDefinition
component : Type | ComponentDefinition
Not Yet Documented
loader : Function
loader : Function
Not Yet Documented
redirectTo : any[]
redirectTo : any[]
Not Yet Documented
as : string
as : string
Not Yet Documented
name : string
name : string
Not Yet Documented
data : any
data : any
Not Yet Documented
useAsDefault : boolean
useAsDefault : boolean
Not Yet Documented