1 | import { ComponentFactoryResolver, ComponentRef } from '@angular/core';
|
2 | import { BasePortalHost, ComponentPortal, TemplatePortal } from './portal';
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 | export declare class DomPortalHost extends BasePortalHost {
|
10 | private _hostDomElement;
|
11 | private _componentFactoryResolver;
|
12 | constructor(_hostDomElement: Element, _componentFactoryResolver: ComponentFactoryResolver);
|
13 | /** Attach the given ComponentPortal to DOM element using the ComponentFactoryResolver. */
|
14 | attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T>;
|
15 | attachTemplatePortal(portal: TemplatePortal): Map<string, any>;
|
16 | dispose(): void;
|
17 | }
|