angular-cn/modules/@angular/router/index.ts

19 lines
745 B
TypeScript
Raw Normal View History

2016-05-02 13:11:21 -04:00
/**
* @module
* @description
* Alternative implementation of the router. Experimental.
*/
2016-05-02 13:36:58 -04:00
export {Router, RouterOutletMap} from './src/router';
export {RouteSegment, UrlSegment, Tree, UrlTree, RouteTree} from './src/segments';
export {Routes} from './src/metadata/decorators';
export {Route} from './src/metadata/metadata';
export {RouterUrlSerializer, DefaultRouterUrlSerializer} from './src/router_url_serializer';
export {OnActivate, CanDeactivate} from './src/interfaces';
export {ROUTER_PROVIDERS} from './src/router_providers';
2016-05-02 13:11:21 -04:00
2016-05-02 13:36:58 -04:00
import {RouterOutlet} from './src/directives/router_outlet';
import {RouterLink} from './src/directives/router_link';
2016-05-02 13:11:21 -04:00
export const ROUTER_DIRECTIVES: any[] = /*@ts2dart_const*/[RouterOutlet, RouterLink];