UNPKG

@ephraim-haber/angular-tree-component

Version:

A simple yet powerful tree component for Angular 14+

18 lines (17 loc) 819 B
import { ElementRef, AfterViewInit, OnInit, OnDestroy } from '@angular/core'; import { TreeVirtualScroll } from '../models/tree-virtual-scroll.model'; import * as i0 from "@angular/core"; 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; static ɵfac: i0.ɵɵFactoryDeclaration<TreeViewportComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<TreeViewportComponent, "tree-viewport", never, {}, {}, never, ["*"], false, never>; }