primeng
Version:
[](https://opensource.org/licenses/MIT) [](https://gitter.im/primefaces/primeng?ut
38 lines (37 loc) • 1.16 kB
TypeScript
import { ElementRef, AfterContentInit, EventEmitter, QueryList, TemplateRef } from '@angular/core';
import { ObjectUtils } from '../utils/objectutils';
import { BlockableUI } from '../common/blockableui';
export declare class VirtualScroller implements AfterContentInit, BlockableUI {
el: ElementRef;
objectUtils: ObjectUtils;
itemSize: number;
style: any;
styleClass: string;
scrollHeight: any;
lazy: boolean;
cache: boolean;
rows: number;
first: number;
trackBy: Function;
header: any;
footer: any;
templates: QueryList<any>;
viewPortViewChild: ElementRef;
onLazyLoad: EventEmitter<any>;
itemTemplate: TemplateRef<any>;
loadingItemTemplate: TemplateRef<any>;
_totalRecords: number;
_value: any[];
lazyValue: any[];
page: number;
constructor(el: ElementRef, objectUtils: ObjectUtils);
totalRecords: number;
value: any[];
ngAfterContentInit(): void;
onScrollIndexChange(index: number): void;
createLazyLoadMetadata(): any;
getBlockableElement(): HTMLElement;
scrollTo(index: number): void;
}
export declare class VirtualScrollerModule {
}