ng2-qgrid
Version:
Angular Grid
25 lines (24 loc) • 665 B
TypeScript
import { Line } from './line';
export declare class Node {
id: string;
schema: any;
parent: Node;
readonly attributes: {
[key: string]: any;
};
children: Node[];
level: number;
line: Line;
constructor(id: string, schema: any, parent?: Node);
attr(key: string, value?: any): any;
classes(): void;
addChildAfter(child: Node, after?: Node): void;
addChildBefore(child: Node, before: Node): void;
addAfter(child: Node): void;
addBefore(child: Node): void;
clone(): any;
remove(): void;
clear(): void;
toString(indent?: number): any;
toTraceString(): any;
}