UNPKG

698 BTypeScriptView Raw
1import { TreeModel } from './tree.model';
2export declare class TreeVirtualScroll {
3 private treeModel;
4 private _dispose;
5 yBlocks: number;
6 x: number;
7 viewportHeight: any;
8 viewport: any;
9 readonly y: number;
10 readonly totalHeight: number;
11 constructor(treeModel: TreeModel);
12 fireEvent(event: any): void;
13 init(): void;
14 isEnabled(): boolean;
15 private _setYBlocks;
16 recalcPositions(): void;
17 private _getPositionAfter;
18 private _getPositionAfterNode;
19 clear(): void;
20 setViewport(viewport: any): void;
21 scrollIntoView(node: any, force: any, scrollToMiddle?: boolean): void;
22 getViewportNodes(nodes: any): any;
23 fixScroll(): void;
24}