Jason Aden
152ca66eba
feat(router): allow redirect from guards by returning UrlTree ( #26521 )
...
* Improve type checking within the CheckGuards function
* Change public API to allow returning of UrlTree instead of boolean
PR Close #26521
2018-10-31 19:51:50 -04:00
Jason Aden
6712492dc2
refactor(router): add type definitions for guard functions ( #26521 )
...
PR Close #26521
2018-10-31 19:51:50 -04:00
Jason Aden
9f4299d47b
refactor(router): add type guards for router guards ( #26521 )
...
PR Close #26521
2018-10-31 19:51:49 -04:00
Pete Bacon Darwin
13143b850e
docs: update router to use `@publicApi` tags ( #26595 )
...
PR Close #26595
2018-10-19 14:35:53 -07:00
Marcus Krahl
07d8d3994c
feat(router): add UrlSegment[] to CanLoad interface ( #13127 )
...
CanLoad now defines UrlSegment[] as a second parameter of the function.
Users can store the initial url segments and refer to them later, e.g. to go
back to the original url after authentication via router.navigate(urlSegments).
Existing code still works as before because the second function parameter
does not have to be defined.
Closes #12411
PR Close #13127
2018-08-16 16:32:18 -07:00
Pete Bacon Darwin
4b96a58c5a
docs: remove all deprecated `@stable` jsdoc tags ( #23210 )
...
These are no longer needed as stable docs are computed as those that
do not have `@experimental` or `@deprecated` tags.
PR Close #23210
2018-04-10 21:49:32 -07:00
Pete Bacon Darwin
31b90436b4
docs(router): migrate deprecated `@whatItDoes` tags ( #23187 )
...
The first line of the description is now used as an overview.
PR Close #23187
2018-04-05 09:29:08 -07:00
Pete Bacon Darwin
f66f408b04
docs(router): migrate deprecated `@howToUse` tags ( #23187 )
...
These have been converted to `@usageNotes` or included in the
`@description` tag.
PR Close #23187
2018-04-05 09:29:08 -07:00
Igor Minar
b43f8bc7d3
feat(core): upgrade rxjs to 6.0.0-alpha.4 ( #22573 )
...
PR Close #22573
2018-03-19 21:51:51 -07:00
Jason Aden
3e51a19983
refactor: move angular source to /packages rather than modules/@angular
2017-03-08 16:29:27 -08:00