mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This commit updates the method of setting the href attribute on `RouterLink` to use built in host binding rather than custom attribute setting and sanitization. The advantage here would be automatic handling of the sanitization and avoiding of writing the same value to the DOM that we had before. This change does mean that we _always_ write to the href attribute where before we only wrote to it when the elemnt was known to support `href`. That said, the implementation attempts to retain behavior that is as close as possible: the original value of `href` is used and never updated. PR Close #60875 |
||
|---|---|---|
| .. | ||
| global | ||
| primitives | ||
| rxjs-interop | ||
| schematics | ||
| src | ||
| test | ||
| testing | ||
| BUILD.bazel | ||
| index.ts | ||
| package.json | ||
| PACKAGE.md | ||
| public_api.ts | ||