fantasia-archive/src/interfaces/I_HtmlParserNode.ts

15 lines
313 B
TypeScript
Raw Normal View History

2021-05-19 11:06:50 +12:00
export interface I_HtmlParserNode {
type: string;
content?: string;
voidElement: boolean;
name: string;
attrs: {
2021-05-21 04:49:54 +12:00
[key: string]: string|boolean|number
2021-05-19 11:06:50 +12:00
};
children: I_HtmlParserNode[];
selfIndex?: number;
selfNodeList?: I_HtmlParserNode[];
parentNode?: I_HtmlParserNode
isLast?: boolean
}