angular-docs-cn/modules/@angular/router/src/directives
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
..
router_link.ts docs(router): fix typos 2016-09-12 09:47:44 -07:00
router_link_active.ts refactor(routerLinkActive): optimised routerLinkActive active check code (#11968) 2016-09-30 09:42:54 -07:00
router_outlet.ts docs(router): update docs for router directives 2016-09-10 16:55:13 -07:00