mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
`Location.go` does not trigger the browser's `popstate` event because the Angular Router uses `pushState` and `replaceState`. This can be confusing when calling `Location.go` and using `Location.subscribe`. This commit clarifies the behavior of `Location.subscribe` and points developers to the `onUrlChanges` subscription instead. Fixes #12691 PR Close #42272 |
||
|---|---|---|
| .. | ||
| http | ||
| locales | ||
| src | ||
| test | ||
| testing | ||
| upgrade | ||
| BUILD.bazel | ||
| index.ts | ||
| package.json | ||
| PACKAGE.md | ||
| public_api.ts | ||