UNPKG

svg-engine

Version:
15 lines 499 B
import { SVGInstance } from "../../../browser/instance/SVGInstance.js"; export class Display extends SVGInstance { display(display) { if (typeof display === "undefined") { const display = this.attr("display"); return typeof display === "string" ? display : null; } else if (typeof display === "string") { this.attr("display", display); return this; } return null; } } //# sourceMappingURL=display.js.map