DataNodeA node that contains some data. class DataNode extends Node {constructor(type: ElementType.Comment | ElementType.Text | ElementType.Directive, data: string);data: string;get nodeValue(): string;set nodeValue(data: string);}§Extends§Node[src]§Constructors§new DataNode(type: ElementType.Comment | ElementType.Text | ElementType.Directive, data: string)[src]@param typeThe type of the node @param dataThe content of the data node §Properties§data: string[src]§nodeValue: string[src]Same as {@link data}. DOM spec-compatible alias.