ag-grid-community
Version:
Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
31 lines (30 loc) • 1.13 kB
TypeScript
import type { NamedBean } from '../context/bean';
import { BeanStub } from '../context/beanStub';
import type { BeanCollection } from '../context/context';
/** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */
export declare class ScrollVisibleService extends BeanStub implements NamedBean {
beanName: "scrollVisibleSvc";
private ctrlsSvc;
private colAnimation?;
private scrollbarWidth;
private refreshTimer;
wireBeans(beans: BeanCollection): void;
horizontalScrollShowing: boolean;
verticalScrollShowing: boolean;
horizontalScrollGap: boolean;
verticalScrollGap: boolean;
destroy(): void;
postConstruct(): void;
refresh(): void;
isHorizontalScrollShowing(): boolean;
isVerticalScrollShowing(): boolean;
private refreshImpl;
private refreshScrollState;
private calculateScrollVisibilityState;
private calculateVerticalScrollShowing;
private calculateHorizontalScrollShowing;
private calculateScrollGapState;
private applyScrollGap;
private applyScrollVisibility;
getScrollbarWidth(): number;
}