mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Adds new abstraction `Compiler` with methods `compileComponentAsync` and `compileComponentSync`. This is in preparation of deprecating `ComponentResolver`. `compileComponentSync` is able to compile components synchronously given all components either have an inline template or they have been compiled before. Also changes `TestComponentBuilder.createSync` to take a `Type` and use the new `compileComponentSync` method. Also supports overriding the component metadata even if the component has already been compiled. Also fixes #7084 in a better way. BREAKING CHANGE: `TestComponentBuilder.createSync` now takes a component type and throws if not all templates are either inlined are compiled before via `createAsync`. Closes #9594 |
||
|---|---|---|
| .. | ||
| compiler.ts | ||
| component_factory.ts | ||
| component_factory_resolver.ts | ||
| component_resolver.ts | ||
| debug_context.ts | ||
| dynamic_component_loader.ts | ||
| element.ts | ||
| element_injector.ts | ||
| element_ref.ts | ||
| exceptions.ts | ||
| query_list.dart | ||
| query_list.ts | ||
| systemjs_component_resolver.ts | ||
| template_ref.ts | ||
| view.ts | ||
| view_container_ref.ts | ||
| view_ref.ts | ||
| view_type.ts | ||
| view_utils.ts | ||