[59329aa] | 1 | import { ElementRef, AfterContentInit, EventEmitter, QueryList, TemplateRef } from '@angular/core';
|
---|
| 2 | import { Header, Footer } from 'primeng/api';
|
---|
| 3 | import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
|
---|
| 4 | import { BlockableUI } from 'primeng/api';
|
---|
| 5 | import * as i0 from "@angular/core";
|
---|
| 6 | import * as i1 from "@angular/common";
|
---|
| 7 | import * as i2 from "@angular/cdk/scrolling";
|
---|
| 8 | import * as i3 from "primeng/api";
|
---|
| 9 | export declare class VirtualScroller implements AfterContentInit, BlockableUI {
|
---|
| 10 | el: ElementRef;
|
---|
| 11 | value: any[];
|
---|
| 12 | itemSize: number;
|
---|
| 13 | style: any;
|
---|
| 14 | styleClass: string;
|
---|
| 15 | scrollHeight: any;
|
---|
| 16 | lazy: boolean;
|
---|
| 17 | rows: number;
|
---|
| 18 | minBufferPx: number;
|
---|
| 19 | maxBufferPx: number;
|
---|
| 20 | delay: number;
|
---|
| 21 | trackBy: Function;
|
---|
| 22 | header: Header;
|
---|
| 23 | footer: Footer;
|
---|
| 24 | templates: QueryList<any>;
|
---|
| 25 | viewport: CdkVirtualScrollViewport;
|
---|
| 26 | onLazyLoad: EventEmitter<any>;
|
---|
| 27 | itemTemplate: TemplateRef<any>;
|
---|
| 28 | headerTemplate: TemplateRef<any>;
|
---|
| 29 | footerTemplate: TemplateRef<any>;
|
---|
| 30 | loadingItemTemplate: TemplateRef<any>;
|
---|
| 31 | _totalRecords: number;
|
---|
| 32 | page: number;
|
---|
| 33 | _first: number;
|
---|
| 34 | _cache: boolean;
|
---|
| 35 | virtualScrollTimeout: any;
|
---|
| 36 | virtualPage: number;
|
---|
| 37 | constructor(el: ElementRef);
|
---|
| 38 | get totalRecords(): number;
|
---|
| 39 | set totalRecords(val: number);
|
---|
| 40 | get first(): number;
|
---|
| 41 | set first(val: number);
|
---|
| 42 | get cache(): boolean;
|
---|
| 43 | set cache(val: boolean);
|
---|
| 44 | ngAfterContentInit(): void;
|
---|
| 45 | onScrollIndexChange(index: number): void;
|
---|
| 46 | getBlockableElement(): HTMLElement;
|
---|
| 47 | scrollTo(index: number, mode?: ScrollBehavior): void;
|
---|
| 48 | scrollToIndex(index: number, mode?: ScrollBehavior): void;
|
---|
| 49 | static ɵfac: i0.ɵɵFactoryDeclaration<VirtualScroller, never>;
|
---|
| 50 | static ɵcmp: i0.ɵɵComponentDeclaration<VirtualScroller, "p-virtualScroller", never, { "value": "value"; "itemSize": "itemSize"; "style": "style"; "styleClass": "styleClass"; "scrollHeight": "scrollHeight"; "lazy": "lazy"; "rows": "rows"; "minBufferPx": "minBufferPx"; "maxBufferPx": "maxBufferPx"; "delay": "delay"; "trackBy": "trackBy"; "totalRecords": "totalRecords"; "first": "first"; "cache": "cache"; }, { "onLazyLoad": "onLazyLoad"; }, ["header", "footer", "templates"], ["p-header", "p-footer"]>;
|
---|
| 51 | }
|
---|
| 52 | export declare class VirtualScrollerModule {
|
---|
| 53 | static ɵfac: i0.ɵɵFactoryDeclaration<VirtualScrollerModule, never>;
|
---|
| 54 | static ɵmod: i0.ɵɵNgModuleDeclaration<VirtualScrollerModule, [typeof VirtualScroller], [typeof i1.CommonModule, typeof i2.ScrollingModule], [typeof VirtualScroller, typeof i3.SharedModule, typeof i2.ScrollingModule]>;
|
---|
| 55 | static ɵinj: i0.ɵɵInjectorDeclaration<VirtualScrollerModule>;
|
---|
| 56 | }
|
---|