angular/packages/core/src/linker
Andrew Scott 737b35b684 feat(core): Add destroyed property to EnvironmentInjector (#61951)
Similar to `DestroyRef`, this adds the `destroyed` property to
`EnvironmentInjector`. It also has the ability to register callbacks with
`onDestroy`, which throws if `destroyed` is already `true`.

This also omits the bit about whether those callbacks have executed
since I realized the property is set to `true` before executing the
callbacks.

PR Close #61951
2025-06-24 14:09:10 +00:00
..
compiler.ts refactor(core): remove the standalone feature (#58288) 2024-10-24 16:19:02 -07:00
component_factory.ts feat(core): add input binding support to dynamically-created components (#60137) 2025-03-03 22:04:49 +00:00
component_factory_resolver.ts refactor(core): drop component factory error in production (#60601) 2025-04-01 13:12:34 +00:00
destroy_ref.ts feat(core): Add destroyed property to EnvironmentInjector (#61951) 2025-06-24 14:09:10 +00:00
element_ref.ts docs: add link label & paragraph for correct display (#60708) 2025-04-30 08:18:07 -07:00
ng_module_factory.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
ng_module_factory_loader.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
ng_module_factory_loader_impl.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
ng_module_registration.ts refactor(core): remove the standalone feature (#58288) 2024-10-24 16:19:02 -07:00
query_list.ts docs: update API examples to modern angular (#61688) 2025-05-29 17:53:28 -04:00
template_ref.ts refactor(core): Merge R3TemplateRef implementation and TemplateRef interface (#61455) 2025-05-21 10:07:12 +00:00
view_container_ref.ts docs: ViewContainerRef.createComponent jsdoc update (#61097) 2025-05-02 07:57:10 -07:00
view_ref.ts docs: fix all brokens links on the API pages (#59162) 2025-03-04 20:07:23 +00:00