import { types } from "assets/types.js"; import { widget } from "interface/widget.js"; class text extends widget { constructor(content, name = undefined) { types.check_string(content); const target = document.createElement("p"); target.innerText = content; super(target, "text", name); } set content(target) { this._content = target; } } export { text };