mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This commit adds an input to `RouterOutlet` that allows developers to pass data from a parent component to the outlet components. Setting the `routerOutletData` input on `RouterOutlet` makes the value available to the child component injectors via the `ROUTER_OUTLET_DATA` token. This token uses a `Signal` type to allow updating the input value and propogating it to the token rather than needing to make the value static. resolves #46283 PR Close #57051 |
||
|---|---|---|
| .. | ||
| router_testing_harness.ts | ||
| router_testing_module.ts | ||
| testing.ts | ||