UNPKG

@omnia/fx-models

Version:
15 lines (14 loc) 467 B
"use strict"; 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;