UNPKG

@applitools/jsdom

Version:

jsdom without canvas 19.0.0

19 lines (14 loc) 369 B
"use strict"; const HTMLElementImpl = require("./HTMLElement-impl").implementation; const { childTextContent } = require("../helpers/text"); class HTMLTitleElementImpl extends HTMLElementImpl { get text() { return childTextContent(this); } set text(value) { this.textContent = value; } } module.exports = { implementation: HTMLTitleElementImpl };