UNPKG

ng2-tree

Version:

angular2 component for visualizing data that can be naturally represented as a tree

13 lines (12 loc) 621 B
import { ElementRef } from '@angular/core'; import { NodeMenuAction, NodeMenuEvent } from './menu.events'; import { Observable, Subject } from 'rxjs'; import * as i0 from "@angular/core"; export declare class NodeMenuService { nodeMenuEvents$: Subject<NodeMenuEvent>; fireMenuEvent(sender: HTMLElement, action: NodeMenuAction): void; hideMenuStream(treeElementRef: ElementRef): Observable<any>; hideMenuForAllNodesExcept(treeElementRef: ElementRef): void; static ɵfac: i0.ɵɵFactoryDeclaration<NodeMenuService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<NodeMenuService>; }