UNPKG

@odymaui/angular-tree-component

Version:

A simple yet powerful tree component for Angular16. WARNING: This is an unsupported fork for use in a dependent project to upgrade it to Angular 16. Unit tests pass and the example-app works as expected.

18 lines (17 loc) 836 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>; }