mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
feat(common): add component input binding support for NgComponentOutlet (#51148)
This commit add component input binding support for NgComponentOutlet. PR Close #51148
This commit is contained in:
committed by
Andrew Kushnir
parent
b5cf5d22e5
commit
29d358170b
@@ -491,7 +491,7 @@ export class NgClass implements DoCheck {
|
||||
}
|
||||
|
||||
// @public
|
||||
export class NgComponentOutlet implements OnChanges, OnDestroy {
|
||||
export class NgComponentOutlet implements OnChanges, DoCheck, OnDestroy {
|
||||
constructor(_viewContainerRef: ViewContainerRef);
|
||||
// (undocumented)
|
||||
ngComponentOutlet: Type<any> | null;
|
||||
@@ -500,15 +500,19 @@ export class NgComponentOutlet implements OnChanges, OnDestroy {
|
||||
// (undocumented)
|
||||
ngComponentOutletInjector?: Injector;
|
||||
// (undocumented)
|
||||
ngComponentOutletInputs?: Record<string, unknown>;
|
||||
// (undocumented)
|
||||
ngComponentOutletNgModule?: Type<any>;
|
||||
// @deprecated (undocumented)
|
||||
ngComponentOutletNgModuleFactory?: NgModuleFactory<any>;
|
||||
// (undocumented)
|
||||
ngDoCheck(): void;
|
||||
// (undocumented)
|
||||
ngOnChanges(changes: SimpleChanges): void;
|
||||
// (undocumented)
|
||||
ngOnDestroy(): void;
|
||||
// (undocumented)
|
||||
static ɵdir: i0.ɵɵDirectiveDeclaration<NgComponentOutlet, "[ngComponentOutlet]", never, { "ngComponentOutlet": { "alias": "ngComponentOutlet"; "required": false; }; "ngComponentOutletInjector": { "alias": "ngComponentOutletInjector"; "required": false; }; "ngComponentOutletContent": { "alias": "ngComponentOutletContent"; "required": false; }; "ngComponentOutletNgModule": { "alias": "ngComponentOutletNgModule"; "required": false; }; "ngComponentOutletNgModuleFactory": { "alias": "ngComponentOutletNgModuleFactory"; "required": false; }; }, {}, never, never, true, never>;
|
||||
static ɵdir: i0.ɵɵDirectiveDeclaration<NgComponentOutlet, "[ngComponentOutlet]", never, { "ngComponentOutlet": { "alias": "ngComponentOutlet"; "required": false; }; "ngComponentOutletInputs": { "alias": "ngComponentOutletInputs"; "required": false; }; "ngComponentOutletInjector": { "alias": "ngComponentOutletInjector"; "required": false; }; "ngComponentOutletContent": { "alias": "ngComponentOutletContent"; "required": false; }; "ngComponentOutletNgModule": { "alias": "ngComponentOutletNgModule"; "required": false; }; "ngComponentOutletNgModuleFactory": { "alias": "ngComponentOutletNgModuleFactory"; "required": false; }; }, {}, never, never, true, never>;
|
||||
// (undocumented)
|
||||
static ɵfac: i0.ɵɵFactoryDeclaration<NgComponentOutlet, never>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user