"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Display = void 0;
const SVGInstance_js_1 = require("../../../browser/instance/SVGInstance.js");
class Display extends SVGInstance_js_1.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;
    }
}
exports.Display = Display;
//# sourceMappingURL=display.js.map