@omnia/fx-models
Version:
Provide Omnia Fx Models Stuffs.
15 lines (14 loc) • 467 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.HtmlPropertyValue = void 0;
const PropertyValue_1 = require("../PropertyValue");
class HtmlPropertyValue extends PropertyValue_1.PropertyValue {
constructor(html) {
super();
this.html = html;
}
isEmpty() {
return this.html == null || this.html.trim() == "" || this.html.trim() == "<p></p>";
}
}
exports.HtmlPropertyValue = HtmlPropertyValue;