1 | import { ElementRef, AfterViewInit, OnDestroy, TemplateRef, EmbeddedViewRef, ViewContainerRef, Renderer2, EventEmitter, ChangeDetectorRef } from '@angular/core';
|
---|
2 | import * as i0 from "@angular/core";
|
---|
3 | import * as i1 from "@angular/common";
|
---|
4 | export declare class DeferredLoader implements AfterViewInit, OnDestroy {
|
---|
5 | el: ElementRef;
|
---|
6 | renderer: Renderer2;
|
---|
7 | viewContainer: ViewContainerRef;
|
---|
8 | private cd;
|
---|
9 | onLoad: EventEmitter<any>;
|
---|
10 | template: TemplateRef<any>;
|
---|
11 | documentScrollListener: Function;
|
---|
12 | view: EmbeddedViewRef<any>;
|
---|
13 | constructor(el: ElementRef, renderer: Renderer2, viewContainer: ViewContainerRef, cd: ChangeDetectorRef);
|
---|
14 | ngAfterViewInit(): void;
|
---|
15 | shouldLoad(): boolean;
|
---|
16 | load(): void;
|
---|
17 | isLoaded(): boolean;
|
---|
18 | ngOnDestroy(): void;
|
---|
19 | static ɵfac: i0.ɵɵFactoryDeclaration<DeferredLoader, never>;
|
---|
20 | static ɵdir: i0.ɵɵDirectiveDeclaration<DeferredLoader, "[pDefer]", never, {}, { "onLoad": "onLoad"; }, ["template"]>;
|
---|
21 | }
|
---|
22 | export declare class DeferModule {
|
---|
23 | static ɵfac: i0.ɵɵFactoryDeclaration<DeferModule, never>;
|
---|
24 | static ɵmod: i0.ɵɵNgModuleDeclaration<DeferModule, [typeof DeferredLoader], [typeof i1.CommonModule], [typeof DeferredLoader]>;
|
---|
25 | static ɵinj: i0.ɵɵInjectorDeclaration<DeferModule>;
|
---|
26 | }
|
---|