ng2-branchy
Version:
angular2 component for visualizing data that can be naturally represented as a tree
13 lines (12 loc) • 406 B
TypeScript
import { TreeModel } from '../branchy.types';
import { ElementRef } from '@angular/core';
export declare class CapturedNode {
private anElement;
private aTree;
constructor(anElement: ElementRef, aTree: TreeModel);
canBeDroppedAt(element: ElementRef): boolean;
contains(other: ElementRef): boolean;
sameAs(other: ElementRef): boolean;
element: ElementRef;
tree: TreeModel;
}