feat(core): view engine - integrate with ComponentFactory
(#14237)
`ComponentFactory`s can now be created from a `ViewDefinitionFactory` via `RefFactory.createComponentFactory`. This commit also: - splits `Services` into `Refs` and `RootData` - changes `ViewState` into a bitmask - implements `ViewContainerRef.move` Part of #14013 PR Close #14237
This commit is contained in:

committed by
Miško Hevery

parent
388afa414e
commit
14d7844b2b
2
tools/public_api_guard/core/index.d.ts
vendored
2
tools/public_api_guard/core/index.d.ts
vendored
@ -273,7 +273,7 @@ export interface ComponentDecorator {
|
||||
export declare class ComponentFactory<C> {
|
||||
componentType: Type<any>;
|
||||
selector: string;
|
||||
constructor(selector: string, _viewClass: Type<AppView<any>>, _componentType: Type<any>);
|
||||
constructor(selector: string, _viewClass: Type<AppView<any>>, componentType: Type<any>);
|
||||
create(injector: Injector, projectableNodes?: any[][], rootSelectorOrNode?: string | any): ComponentRef<C>;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user