mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
The goal is to make implementing a renderer straight forward.
BREAKING_CHANGE:
- Renderer interface was redone / simplified.
- `DirectDomRenderer` was replaced by `DomRenderer`.
- `DirectDomRenderer.setImperativeComponentRootNodes` is replaced
by the following 2 steps:
1. `ViewManager.getComponentView(elementRef) -> ViewRef`
2. `DomRenderer.setComponentViewRootNodes(viewRef, rootNodes)`
- all `@View` annotations need to have a template, but the template
may be empty. Previously views that had a `renderer` property did
not have to have a `template`.
- `dynamicComponentLoader.loadIntoNewLocation` does no more allow
to pass an element, but requires a css selector.
Special syntax: `:document` can be used as prefix to search globally
on the document instead of in the provided parent view.
Part of #1675
|
||
|---|---|---|
| .. | ||
| compiler_spec.js | ||
| component_url_mapper_spec.js | ||
| directive_metadata_reader_spec.js | ||
| dynamic_component_loader_spec.js | ||
| element_injector_spec.js | ||
| integration_spec.js | ||
| query_integration_spec.js | ||
| query_list_spec.js | ||
| reflection_capabilities_spec.js | ||
| view_container_ref_spec.js | ||
| view_manager_spec.js | ||
| view_manager_utils_spec.js | ||
| view_pool_spec.js | ||