@petebacondarwin deserves credit for most of this commit. This allows you to specify a regex and serializer function instead of the path DSL in your route declaration. ``` @RouteConfig([ { regex: '[a-z]+.[0-9]+', serializer: (params) => `{params.a}.params.b}`, component: MyComponent } ]) class Component {} ``` Closes #7325 Closes #7126
9 lines
200 B
Dart
9 lines
200 B
Dart
/**
|
|
* This indirection is needed for TS compilation path.
|
|
* See comment in lifecycle_annotations.ts.
|
|
*/
|
|
|
|
library angular2.router.lifecycle_annotations;
|
|
|
|
export "./lifecycle_annotations_impl.dart";
|