Miško Hevery
69a4bb0bcd
doc: standardize deprecation of preserveQueryParams (4.0 only) ( #14236 )
...
PR closes #14236
2017-02-01 16:48:19 -08:00
evan Liu
c87c3bec93
feat(router): deprecate preserveQueryParams,add queryParamsHandling ( #14095 )
...
PR Close #14095
2017-01-31 15:43:25 -06:00
Peter Bacon Darwin
e35c25d2ce
docs(router): remove invalid jsdoc tags ( #14097 )
...
The `@selector` tags are not valid.
Dgeni should be able to extract this information
from the directive annotation metadata.
2017-01-26 23:46:38 -08:00
Dzmitry Shylovich
e8ea741039
fix(router): routerLinkActive should not throw when not initialized ( #13273 )
...
Fixes #13270
PR Close #13273
2017-01-17 18:38:45 -06:00
Dzmitry Shylovich
1a92e3d406
refactor(router): clean up RouterLinkActive ( #13273 )
...
PR Close #13273
2017-01-17 18:37:34 -06:00
Dzmitry Shylovich
d9a22dae4f
fix(router): RouterLink mirrors input target as attribute
...
Closes #13837
2017-01-09 15:00:40 -05:00
Dzmitry Shylovich
174334dec3
fix(router): routerLink support of null/undefined ( #13380 )
...
Closes #6971
2016-12-27 13:45:16 -08:00
Dzmitry Shylovich
a006c1418a
feat(router): routerLink add tabindex attribute ( #13094 )
...
Fixes #10895
2016-12-09 15:38:50 -08:00
Maxime Robert
4bd8f58552
FIX typo ( #13267 )
2016-12-06 10:40:01 -08:00
Victor Berchet
349ad75de3
fix(router): fix replaceUrl on RouterLink directives
2016-12-05 10:54:10 -08:00
Victor Berchet
f562cbf86c
fix(router): fix skipLocationChanges on RouterLink directives
...
fixes #13156
2016-12-05 10:54:10 -08:00
Victor Berchet
804943c9b1
refactor(router): cleanup RouterLink
2016-12-05 10:54:10 -08:00
vsavkin
42cf06fa12
feat(router): add support for custom route reuse strategies
2016-11-29 23:21:41 -08:00
Dzmitry Shylovich
46d150266b
feat(router_link): add skipLocationChange and replaceUrl inputs ( #12850 )
2016-11-14 18:30:13 -08:00
Victor Savkin
52be848f94
fix(router): incorrect injector is used when instantiating components loaded lazily ( #12817 )
2016-11-11 17:12:00 -08:00
vsavkin
8e221b826f
fix(router): routerLink should not prevent default on non-link elements
2016-11-02 12:25:23 -07:00
Jeremy Elbourn
c9f58cf78c
feat(router): export routerLinkActive w/ isActive property
2016-10-26 14:08:22 -07:00
vsavkin
8f2fa0f766
fix(router): disallow component routes with named outlets
...
Closes #11208 , #11082
2016-10-26 13:52:59 -07:00
Ferdinand Malcher
d55f747858
docs(router): attribute notation for string paths ( #12205 )
...
Either bind an expression or use the attribute notation.
The mixed way `[routerLink]="/path"` won't work.
Prefer the attribute notation for string-only paths
2016-10-17 22:53:55 -07:00
Connor Wyatt
c143fee849
refactor(routerLinkActive): optimised routerLinkActive active check code ( #11968 )
...
Modify routerLinkActive to optimise performance by removing unnecessary iteration. By replacing Array.reduce with Array.some, the loop will break when it finds an active link. Useful if used on the parent of a large group of routerLinks. Furthermore, if a RouterLink is active it will not check the RouterLinkWithHrefs.
2016-09-30 09:42:54 -07:00
Alex Eagle
41c8c30973
chore(lint): remove unused imports ( #11923 )
...
This was done automatically by tslint, which can now fix issues it finds.
The fixer is still pending in PR https://github.com/palantir/tslint/pull/1568
Also I have a local bugfix for https://github.com/palantir/tslint/issues/1569
which causes too many imports to be deleted.
2016-09-27 17:12:25 -07:00
vsavkin
a343a8e1c2
docs(router): fix typos
2016-09-12 09:47:44 -07:00
vsavkin
0822066175
docs(router): update docs for router directives
2016-09-10 16:55:13 -07:00
Misko Hevery
7c07bfff97
fix(errors): [2/2] Rename Exception to Error; remove from public API
...
BREAKING CHANGE:
Exceptions are no longer part of the public API. We don't expect that anyone should be referring to the Exception types.
ExceptionHandler.call(exception: any, stackTrace?: any, reason?: string): void;
change to:
ErrorHandler.handleError(error: any): void;
2016-08-26 10:37:17 -07:00
vsavkin
93f323cfa2
refactor(router): make RouterLink and RouterLinkWithHref create url in a similar way
2016-08-26 10:32:35 -07:00
Victor Savkin
24e280a21a
refactor(router): remove deprecated apis ( #10658 )
2016-08-16 13:40:28 -07:00
Rob Wormald
73c0a9daaf
fix(router): make routerLinkActiveOptions public ( #10758 )
2016-08-15 00:39:59 -07:00
Victor Savkin
6db27153ef
Router Fixes ( #10579 )
...
* fix(router): copy over data during data resolution
* fix(router): components instantiated in lazy-loaded modules should use location's injector
2016-08-10 15:53:57 -07:00
vsavkin
3e377f520e
fix(router): make an outlet to unregister itself when it is removed from the dom
2016-08-01 16:56:38 -07:00
vsavkin
5162fb6d52
feat(router): add isActive to router
2016-07-29 12:27:43 -07:00