UNPKG

dbweb-common

Version:

用`yarn add dbweb-common`安装,不要忘记修改`angular.json`里的 `architect\build\options\assets`,加上

24 lines (23 loc) 721 B
import { INode, NodeTypeEnum } from './model'; export declare class Node implements INode { parent: Node; NodeType: NodeTypeEnum; Field?: string; Operate?: string; Value?: string; Children?: Node[]; PlainText?: string; static fromInterface(data: INode): Node; assign(src: INode): void; toInterface(): INode; insertChild(index: number, node: INode): void; replaceChild(node: Node, newNode: Node): void; addTopSibling(node: INode): void; addBottomSibling(node: INode): void; addChildSibling(node: INode): void; flatHeight(): number; collection(): void; findRoot(): Node; removeChild(node: Node): void; remove(): void; }