haifa-reminder/node_modules/node-html-parser/dist/nodes/comment.d.ts

20 lines
533 B
TypeScript
Raw Normal View History

2023-07-26 11:01:58 +00:00
import HTMLElement from './html';
import Node from './node';
import NodeType from './type';
export default class CommentNode extends Node {
rawText: string;
clone(): CommentNode;
constructor(rawText: string, parentNode: HTMLElement, range?: [number, number]);
/**
* Node Type declaration.
* @type {Number}
*/
nodeType: NodeType;
/**
* Get unescaped text value of current node and its children.
* @return {string} text content
*/
get text(): string;
toString(): string;
}