mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
c53310ee81
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
public-api/
This directory contains all of the public api goldens for our npm packages we publish to NPM. These are tested on all PRs and commits as part of our bazel tests.
To check or update the public api goldens, run one of the following commands:
yarn public-api:check
yarn public-api:update