UNPKG

@larva.io/webcomponents

Version:

Fentrica SmartUnits WebComponents package

87 lines (86 loc) 3.09 kB
/*! * (C) Fentrica http://fentrica.com - Seee LICENSE.md */ import { h } from "@stencil/core"; export class NodeTitles { render() { return [ h("div", { key: '435af1890307be69ea5d4905956be570874b6deb', class: "node-titles" }, this.supTitle && h("h3", { key: '23c5b5e1f042f39f5a0197fd4ef915fa352b1172' }, h("lar-translate", { key: '51c5ab2b133977e62fb186c53c234b729e49a568', t: this.supTitle })), this.mainTitle && h("h2", { key: '662bcc87b136c4fbb24dd60730cab409ec1f0949' }, h("lar-translate", { key: '6c2c7984416b6505dee5f024923b6d0d283c1d88', t: this.mainTitle })), this.subTitle && h("h3", { key: '782f0cabdb7e7a92d2f086925e2795bc188cbdee' }, h("lar-translate", { key: 'ae5cea651c1689d4a08c97961730722613e4cd43', t: this.subTitle }))) ]; } static get is() { return "lar-node-titles"; } static get encapsulation() { return "scoped"; } static get originalStyleUrls() { return { "$": ["node-titles.scss"] }; } static get styleUrls() { return { "$": ["node-titles.css"] }; } static get properties() { return { "subTitle": { "type": "string", "mutable": false, "complexType": { "original": "string", "resolved": "string", "references": {} }, "required": false, "optional": true, "docs": { "tags": [], "text": "Node subtitle" }, "getter": false, "setter": false, "reflect": false, "attribute": "sub-title" }, "supTitle": { "type": "string", "mutable": false, "complexType": { "original": "string", "resolved": "string", "references": {} }, "required": false, "optional": true, "docs": { "tags": [], "text": "Node superscript title" }, "getter": false, "setter": false, "reflect": false, "attribute": "sup-title" }, "mainTitle": { "type": "string", "mutable": false, "complexType": { "original": "string", "resolved": "string", "references": {} }, "required": true, "optional": false, "docs": { "tags": [], "text": "Node main title" }, "getter": false, "setter": false, "reflect": false, "attribute": "main-title" } }; } static get elementRef() { return "el"; } } //# sourceMappingURL=node-titles.js.map