UNPKG

com.phloxui

Version:

PhloxUI Ng2+ Framework

55 lines (54 loc) 1.86 kB
import { ElementRef, OnInit, ViewContainerRef, ComponentFactoryResolver } from '@angular/core'; import { AbstractI18NApplicable } from '../share/AbstractI18NApplicable'; export declare class ScrollLoad extends AbstractI18NApplicable implements OnInit { static readonly NAME: string; protected options: any; private scrollLoadFunc; private scrollLoadOffset; private scrollLoadCount; private scrollLoadInitCount; private scrollLoadIcon; private scrollLoadReloadIcon; private scrollLoadLabel; private scrollLoadReloadLabel; private scrollLoadCompleteLabel; private scrollLoadAuto; private scrollLoadReloadAuto; private scrollLoadReloadDisabled; private scrollLoadDelay; private elementRef; private onReload; private onLoading; private onLoadAuto; private completeInformation; private cursor; private counter; private hideReloadIconTimeout; private lastScrollTime; private onShowReloader; private componentFactoryResolver; private containerRef; private iconLoader; private reloadIconLoader; constructor(containerRef: ViewContainerRef, componentFactoryResolver: ComponentFactoryResolver, elementRef: ElementRef); ngOnInit(): void; ngOnChanges(): void; private refreshIconLoaders(); private renderIconLoader(); private renderReloadIconLoader(); private initManualReloadEvents(); private initScrollEvents(); private showReloadIcon(); private hideReloadIcon(); private showLoadIcon(); private hideLoadIcon(); private showLoadMore(); private hideLoadMore(); private callDelayEvents(); private doScrollTopReLoad(); private doScrollLoad(); reset(reload?: Boolean): Promise<any>; reload(): Promise<any>; loadNext(): Promise<any>; checkNoneScrollLoad(reload?: boolean): void; }