@circlon/angular-tree-component
Version:
A simple yet powerful tree component for Angular
15 lines (14 loc) • 591 B
TypeScript
import { ElementRef, AfterViewInit, OnInit, OnDestroy } from '@angular/core';
import { TreeVirtualScroll } from '../models/tree-virtual-scroll.model';
export declare class TreeViewportComponent implements AfterViewInit, OnInit, OnDestroy {
private elementRef;
virtualScroll: TreeVirtualScroll;
setViewport: () => void;
private readonly scrollEventHandler;
constructor(elementRef: ElementRef, virtualScroll: TreeVirtualScroll);
ngOnInit(): void;
ngAfterViewInit(): void;
ngOnDestroy(): void;
getTotalHeight(): string;
private throttle;
}