angular/packages/router/testing/src
Andrew Scott f271021e19 feat(router): Add routerOutletData input to RouterOutlet directive (#57051)
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
2024-08-09 08:08:26 -07:00
..
router_testing_harness.ts feat(router): Add routerOutletData input to RouterOutlet directive (#57051) 2024-08-09 08:08:26 -07:00
router_testing_module.ts docs(router): deprecate RouterTestingModule (#54466) 2024-02-20 09:33:16 -08:00
testing.ts feat(router): Add test helper for trigger navigations in tests (#48552) 2023-01-25 19:31:38 +00:00