fantasia-archive/src/interfaces/I_HtmlParserNode.ts
2021-05-19 01:06:50 +02:00

14 lines
306 B
TypeScript

export interface I_HtmlParserNode {
type: string;
content?: string;
voidElement: boolean;
name: string;
attrs: {
[key: string]: string|boolean
};
children: I_HtmlParserNode[];
selfIndex?: number;
selfNodeList?: I_HtmlParserNode[];
parentNode?: I_HtmlParserNode
isLast?: boolean
}