virtualscroller.d.ts 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. import { ElementRef, AfterContentInit, EventEmitter, QueryList, TemplateRef } from '@angular/core';
  2. import { BlockableUI } from '../common/blockableui';
  3. export declare class VirtualScroller implements AfterContentInit, BlockableUI {
  4. el: ElementRef;
  5. itemSize: number;
  6. style: any;
  7. styleClass: string;
  8. scrollHeight: any;
  9. lazy: boolean;
  10. cache: boolean;
  11. rows: number;
  12. first: number;
  13. trackBy: Function;
  14. header: any;
  15. footer: any;
  16. templates: QueryList<any>;
  17. viewPortViewChild: ElementRef;
  18. onLazyLoad: EventEmitter<any>;
  19. itemTemplate: TemplateRef<any>;
  20. loadingItemTemplate: TemplateRef<any>;
  21. _totalRecords: number;
  22. _value: any[];
  23. lazyValue: any[];
  24. page: number;
  25. constructor(el: ElementRef);
  26. totalRecords: number;
  27. value: any[];
  28. ngAfterContentInit(): void;
  29. onScrollIndexChange(index: number): void;
  30. createLazyLoadMetadata(): any;
  31. getBlockableElement(): HTMLElement;
  32. scrollTo(index: number): void;
  33. }
  34. export declare class VirtualScrollerModule {
  35. }