Trevor Karjanis
9873356bd0
docs: fix grammatical errors in the guides and API documentation ( #29928 )
...
Fix grammatical errors in the DI and HttpClient guides as well as the Resolve API documentaiton.
There is no associated issue.
PR Close #29928
2019-04-22 17:32:30 -07:00
José Toledo Navarro
3063547975
docs(router): align examples in interfaces docs ( #29093 )
...
* Use exclusively `TeamComponent` class for examples, as currently there are at least 3 different component classes being used, one of which is actually as a type argument for a `Resolve<T>` implementation.
PR Close #29093
2019-03-05 09:45:52 -08:00
Karanveer Plaha
26a8c095d0
docs(router): fixed a typo in CanLoad title text ( #27894 )
...
* Interface that a class can implement to be a guard deciding if a children can be loaded.
'...if a children...' changed to '...if children...'
* Interface that a class can implement to be a guard deciding if children can be loaded.
PR Close #27894
2019-01-10 17:06:55 -08:00
Pete Bacon Darwin
86580a8460
style(router): remove trailing whitespace ( #26891 )
...
PR Close #26891
2018-11-01 05:28:17 -07:00
Jason Aden
4e9f2e5895
feat(router): guard returning UrlTree cancels current navigation and redirects ( #26521 )
...
Fixes #24618
FW-153 #resolve
PR Close #26521
2018-10-31 19:51:50 -04:00
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