UNPKG

dbit-lu-angular-tree-component

Version:

A simple yet powerful tree component for Angular2

15 lines (14 loc) 580 B
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; constructor(elementRef: ElementRef, virtualScroll: TreeVirtualScroll); ngOnInit(): void; ngAfterViewInit(): void; ngOnDestroy(): void; onScroll(e: any): void; getTotalHeight(): string; _onWheel(e: any): void; setViewport(): void; }