angular/aio/content/examples
Andrew Kushnir f73ef21442 feat(router): merge RouterLinkWithHref into RouterLink (#47630)
This commit updates the `RouterLink` to extend the selector to also include `<a>` and `<area>` elements, which were previously matched by the `RouterLinkWithHref` directive. The code of the directives was merged together (since there was a lot of duplication) and this commit finalizes the merge. The `RouterLinkWithHref` becomes an alias of the `RouterLink` directive.

Now there is no need to import and use the `RouterLinkWithHref` class, the `RouterLink` directive will match any element that has the `routerLink` attribute.

DEPRECATED:

The `RouterLinkWithHref` directive is deprecated, use the `RouterLink` directive instead. The `RouterLink` contains the code from the `RouterLinkWithHref` to handle elements with `href` attributes.

PR Close #47630
2022-10-05 15:16:43 -07:00
..
accessibility refactor(docs-infra): use eslint in aio's example-lint script (#43218) 2021-12-15 12:28:46 -05:00
ajs-quick-reference refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
angular-compiler-options build(docs-infra): update Angular CLI/framework to v14.0.0-rc.0 in docs examples (#45997) 2022-05-23 13:20:10 -07:00
angular-linker-plugin docs: fix ellipsis in code-snippet in creating-libraries guide (#45820) 2022-05-09 11:08:46 -07:00
animations docs: remove Narco from hero list in code, text, and images (#46008) 2022-05-17 17:47:03 +00:00
architecture refactor: replace deprecated String.prototype.substr() (#45397) 2022-03-24 11:48:09 -07:00
attribute-binding docs: Attribute binding changed to include attribute binding only (#45897) 2022-05-16 16:07:33 -07:00
attribute-directives docs(docs-infra): improve the content of attribute directives (#44628) 2022-01-06 18:36:46 +00:00
binding-syntax refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
bootstrapping docs: remove unused "docregions" (#40479) 2021-01-20 16:12:15 -08:00
built-in-directives refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
built-in-template-functions test(docs-infra): disable the Selenium Promise Manager in docs examples e2e tests (#39818) 2020-11-24 14:56:14 -08:00
cli-builder/src docs: update CLI builder to be platform agnostic (#42371) 2021-06-01 10:13:02 -07:00
comparing-observables build(docs-infra): switch the example-e2e script to ESM (#42921) 2021-07-23 10:37:35 -07:00
component-interaction fix(docs-infra): add punctuation to dr iq (#47525) 2022-09-29 16:43:55 -07:00
component-overview refactor(docs-infra): use eslint in aio's example-lint script (#43218) 2021-12-15 12:28:46 -05:00
component-styles refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
content-projection docs: modify import (#45828) 2022-06-10 16:11:09 +00:00
dependency-injection fix(docs-infra): add punctuation to dr iq (#47525) 2022-09-29 16:43:55 -07:00
dependency-injection-in-action docs: update dependency injection content (#44466) 2022-08-05 10:06:13 -07:00
deprecation-guide refactor(docs-infra): use eslint in aio's example-lint script (#43218) 2021-12-15 12:28:46 -05:00
displaying-data docs: remove unused "docregions" (#40479) 2021-01-20 16:12:15 -08:00
docs-style-guide docs: remove Narco from hero list in code, text, and images (#46008) 2022-05-17 17:47:03 +00:00
dynamic-component-loader fix(docs-infra): add punctuation to dr iq (#47525) 2022-09-29 16:43:55 -07:00
dynamic-form refactor(docs-infra): use eslint in aio's example-lint script (#43218) 2021-12-15 12:28:46 -05:00
elements refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
errors/cyclic-imports refactor(compiler-cli): error on cyclic imports in partial compilation (#40782) 2021-02-17 06:53:38 -08:00
event-binding docs: update links and TOC (#45897) 2022-05-16 16:07:34 -07:00
feature-modules docs: remove unused "docregions" (#40479) 2021-01-20 16:12:15 -08:00
form-validation refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
forms fix(docs-infra): add punctuation to dr iq (#47525) 2022-09-29 16:43:55 -07:00
forms-overview build(docs-infra): update docs examples to Angular v12.1.3 (#42949) 2021-08-09 09:41:00 -07:00
getting-started docs(docs-infra): add missing decorator in tutorial step (#47456) 2022-09-19 09:40:12 +02:00
getting-started-v0 docs: add missing Product interface to example (#42147) 2021-05-21 22:14:47 +00:00
hierarchical-dependency-injection refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
http docs: fix division by zero in progress events example (#46077) 2022-05-23 13:27:45 -07:00
i18n build(docs-infra): remove defaultProject workspace option (#45410) 2022-03-24 10:49:57 -07:00
inputs-outputs refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
interpolation docs: update links and TOC (#45897) 2022-05-16 16:07:34 -07:00
lazy-loading-ngmodules refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
lifecycle-hooks refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
ngcontainer docs: remove Narco from hero list in code, text, and images (#46008) 2022-05-17 17:47:03 +00:00
ngmodules feat(router): add ariaCurrentWhenActive input to RouterLinkActive directive (#45167) 2022-04-20 15:14:01 -07:00
observables docs: fix multicast observable example output (#46127) 2022-06-14 17:04:12 +00:00
observables-in-angular refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
pipes refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
practical-observable-usage build(docs-infra): update Angular CLI/framework to v14.0.0-rc.0 in docs examples (#45997) 2022-05-23 13:20:10 -07:00
property-binding docs: update links and TOC (#45897) 2022-05-16 16:07:34 -07:00
providers docs: make all examples compatible with strict mode (#41999) 2021-05-17 10:42:18 -07:00
providers-viewproviders test(docs-infra): disable the Selenium Promise Manager in docs examples e2e tests (#39818) 2020-11-24 14:56:14 -08:00
reactive-forms docs(forms): remove type duplicate from button in reactive-forms example (#45124) 2022-02-18 13:34:59 -08:00
resolution-modifiers docs: make all examples compatible with strict mode (#41999) 2021-05-17 10:42:18 -07:00
router fix(docs-infra): add punctuation to dr iq (#47525) 2022-09-29 16:43:55 -07:00
router-tutorial docs: remove duplicated styles (#47143) 2022-08-12 18:18:20 +00:00
routing-with-urlmatcher docs: fix code samples formatting in tutorial (#47144) 2022-08-12 18:17:26 +00:00
rx-library docs: fix code sample indentation (#44517) 2022-01-04 12:15:55 -08:00
schematics-for-libraries build(docs-infra): remove defaultProject workspace option (#45410) 2022-03-24 10:49:57 -07:00
security docs: make all examples compatible with strict mode (#41999) 2021-05-17 10:42:18 -07:00
service-worker-getting-started docs(service-worker): improve docs related to SwUpdate APIs (#46960) 2022-09-06 09:11:57 -07:00
setup refactor(docs-infra): use eslint in aio's example-lint script (#43218) 2021-12-15 12:28:46 -05:00
structural-directives docs(core): add full example of directive with typed context (#46689) 2022-07-11 20:01:06 +00:00
styleguide fix(docs-infra): removed duplicated style in aio examples (#45157) 2022-02-22 15:35:16 -08:00
template-expression-operators docs: make all examples compatible with strict mode (#41999) 2021-05-17 10:42:18 -07:00
template-reference-variables docs: update links and TOC (#45897) 2022-05-16 16:07:34 -07:00
template-syntax docs: remove Narco from hero list in code, text, and images (#46008) 2022-05-17 17:47:03 +00:00
testing feat(router): merge RouterLinkWithHref into RouterLink (#47630) 2022-10-05 15:16:43 -07:00
toh-pt0 fix(docs-infra): fix tour of heroes global styles (#45329) 2022-03-15 13:24:52 -07:00
toh-pt1 refactor: replace deprecated String.prototype.substr() (#45397) 2022-03-24 11:48:09 -07:00
toh-pt2 docs: remove Narco from hero list in code, text, and images (#46008) 2022-05-17 17:47:03 +00:00
toh-pt3 docs: remove Narco from hero list in code, text, and images (#46008) 2022-05-17 17:47:03 +00:00
toh-pt4 docs: remove Narco from hero list in code, text, and images (#46008) 2022-05-17 17:47:03 +00:00
toh-pt5 fix(docs-infra): fix nav css on tutorial tour of heroes (#47064) 2022-08-08 11:32:40 -07:00
toh-pt6 build(docs-infra): update Angular CLI/framework to v14.0.0-rc.0 in docs examples (#45997) 2022-05-23 13:20:10 -07:00
two-way-binding refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
universal docs: remove Narco from hero list in code, text, and images (#46008) 2022-05-17 17:47:03 +00:00
upgrade-lazy-load-ajs refactor(docs-infra): fix eslint issues for aio ugrade-* examples (#44534) 2022-01-04 16:34:06 -08:00
upgrade-module fix(docs-infra): include tslib into SystemJS config in upgrade-module example app (#45706) 2022-04-21 11:05:37 -07:00
upgrade-phonecat-1-typescript docs: improve markdown (#45325) 2022-04-08 19:36:30 +00:00
upgrade-phonecat-2-hybrid docs(upgrade): move import back into docregion in rollup-config.js (#45778) 2022-04-27 09:04:09 -07:00
upgrade-phonecat-3-final docs: improve markdown (#45325) 2022-04-08 19:36:30 +00:00
user-input refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
view-encapsulation refactor(docs-infra): use eslint in aio's example-lint script (#43218) 2021-12-15 12:28:46 -05:00
what-is-angular docs: Removed unnecessary blank line (#47329) 2022-09-09 14:26:23 -07:00
.eslintrc.json refactor(docs-infra): fix template eslint issues in aio examples (#44557) 2022-02-03 12:44:46 -08:00
.gitignore build(docs-infra): update Angular CLI/framework to v14.0.0-rc.0 in docs examples (#45997) 2022-05-23 13:20:10 -07:00
tsconfig.eslint.json refactor(docs-infra): use eslint in aio's example-lint script (#43218) 2021-12-15 12:28:46 -05:00