UNPKG

ag-grid-community

Version:

Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue

23 lines (22 loc) 1.05 kB
import type { ElementParams } from '../utils/dom'; import { Component } from '../widgets/component'; import type { ScrollPartner } from './gridBodyScrollFeature'; export declare abstract class AbstractFakeScrollComp extends Component implements ScrollPartner { private readonly direction; readonly eViewport: HTMLElement; protected readonly eContainer: HTMLElement; protected invisibleScrollbar: boolean; protected hideTimeout: number; protected abstract setScrollVisible(): void; abstract getScrollPosition(): number; abstract setScrollPosition(value: number): void; constructor(template: ElementParams, direction: 'horizontal' | 'vertical'); postConstruct(): void; destroy(): void; protected initialiseInvisibleScrollbar(): void; protected addActiveListenerToggles(): void; protected onScrollVisibilityChanged(): void; protected hideAndShowInvisibleScrollAsNeeded(): void; protected attemptSettingScrollPosition(value: number): void; onScrollCallback(fn: () => void): void; }