happy-dom
Version:
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.
48 lines • 1.06 kB
TypeScript
import Node from '../node/Node.cjs';
import * as PropertySymbol from '../../PropertySymbol.cjs';
import NodeTypeEnum from '../node/NodeTypeEnum.cjs';
/**
* DocumentType.
*/
export default class DocumentType extends Node {
[ ]: NodeTypeEnum;
[ ]: string;
[ ]: string;
[ ]: string;
cloneNode: (deep?: boolean) => DocumentType;
/**
* Returns name.
*
* @returns Name.
*/
get name(): string;
/**
* Returns public ID.
*
* @returns Public ID.
*/
get publicId(): string;
/**
* Returns system ID.
*
* @returns System ID.
*/
get systemId(): string;
/**
* Node name.
*
* @returns Node name.
*/
get nodeName(): string;
/**
* Converts to string.
*
* @returns String.
*/
toString(): string;
/**
* @override
*/
[ ](deep?: boolean): DocumentType;
}
//# sourceMappingURL=DocumentType.d.ts.map