UNPKG

@true-directive/grid

Version:

Angular Data Grid from Yopsilon.

61 lines (60 loc) 2.03 kB
/** * Copyright (c) 2018-2019 Aleksey Melnikov, True Directive Company. * @link https://truedirective.com/ * @license MIT */ import { ChangeDetectorRef, ElementRef, Renderer2, EventEmitter } from '@angular/core'; import { GridStateService } from './grid-state.service'; export declare class ScrollerComponent { state: GridStateService; protected elementRef: ElementRef; protected changeDetector: ChangeDetectorRef; protected renderer: Renderer2; header: any; dataArea: any; data: any; datah: any; footer: any; maxHeight: string; readonly maxHeightU: string; autoscrollx: EventEmitter<number>; scroll: EventEmitter<any>; readonly autoWidth: boolean; readonly touchFix: boolean; protected scrollX: number; protected scrollY: number; private scrollTimer; private scrollSubscription; private autoScrollInProgress; scrollSpeedX: number; scrollSpeedY: number; protected _scrollRect: any; readonly scrollerH: any; readonly scrollerV: any; readonly clientRect: any; readonly centerRect: any; readonly headerRect: any; readonly headerRectLeft: any; readonly headerRectRight: any; dataScroll(e: any): void; dataScrollH(e: any): void; readonly isAutoScroll: boolean; readonly scrollTop: any; readonly scrollLeft: any; readonly scrollWidth: any; readonly scrollHeight: any; readonly viewPortHeight: any; readonly viewPortWidth: any; prepareAutoScroll(): void; startAutoScroll(): void; stopAutoScroll(): void; scrollIfNeeded(): void; scrollTo(x: number, y?: number): void; fixScroll(): void; checkAutoScrollX(xx: number, checkParts?: boolean): any; checkAutoScrollY(yy: number): any; scrollParts(): void; doScroll(e: any, h?: boolean): void; focus(): void; constructor(state: GridStateService, elementRef: ElementRef, changeDetector: ChangeDetectorRef, renderer: Renderer2); }