UNPKG

1.59 kBTypeScriptView Raw
1import { ApplicationRef, ComponentFactoryResolver, NgZone, ViewContainerRef, Injector } from '@angular/core';
2import { FrameworkDelegate } from '@ionic/core';
3import * as i0 from "@angular/core";
4export declare class AngularDelegate {
5 private zone;
6 private appRef;
7 constructor(zone: NgZone, appRef: ApplicationRef);
8 create(resolver: ComponentFactoryResolver, injector: Injector, location?: ViewContainerRef): AngularFrameworkDelegate;
9 static ɵfac: i0.ɵɵFactoryDeclaration<AngularDelegate, never>;
10 static ɵprov: i0.ɵɵInjectableDeclaration<AngularDelegate>;
11}
12export declare class AngularFrameworkDelegate implements FrameworkDelegate {
13 private resolver;
14 private injector;
15 private location;
16 private appRef;
17 private zone;
18 private elRefMap;
19 private elEventsMap;
20 constructor(resolver: ComponentFactoryResolver, injector: Injector, location: ViewContainerRef | undefined, appRef: ApplicationRef, zone: NgZone);
21 attachViewToDom(container: any, component: any, params?: any, cssClasses?: string[]): Promise<any>;
22 removeViewFromDom(_container: any, component: any): Promise<void>;
23}
24export declare const attachView: (zone: NgZone, resolver: ComponentFactoryResolver, injector: Injector, location: ViewContainerRef | undefined, appRef: ApplicationRef, elRefMap: WeakMap<HTMLElement, any>, elEventsMap: WeakMap<HTMLElement, () => void>, container: any, component: any, params: any, cssClasses: string[] | undefined) => any;
25export declare const bindLifecycleEvents: (zone: NgZone, instance: any, element: HTMLElement) => (() => void);