UNPKG

isomtrik-quickchat

Version:

isomtrik-quickchat is a lightweight, real-time chat component built with Stencil JS. It is designed to be seamlessly integrated into web applications, offering customizable and responsive chat functionalities. The module supports both CommonJS and ES modu

84 lines (83 loc) 2.49 kB
import { h } from "@stencil/core"; import { format } from "../../utils/utils"; export class MyComponent { constructor() { this.first = undefined; this.middle = undefined; this.last = undefined; } getText() { return format(this.first, this.middle, this.last); } render() { return h("div", { key: 'f68f4c7e2b782378eee11f06ae2cd727f004daef' }, "Hello, World! I'm ", this.getText()); } static get is() { return "my-component"; } static get encapsulation() { return "shadow"; } static get originalStyleUrls() { return { "$": ["my-component.css"] }; } static get styleUrls() { return { "$": ["my-component.css"] }; } static get properties() { return { "first": { "type": "string", "mutable": false, "complexType": { "original": "string", "resolved": "string", "references": {} }, "required": false, "optional": false, "docs": { "tags": [], "text": "The first name" }, "attribute": "first", "reflect": false }, "middle": { "type": "string", "mutable": false, "complexType": { "original": "string", "resolved": "string", "references": {} }, "required": false, "optional": false, "docs": { "tags": [], "text": "The middle name" }, "attribute": "middle", "reflect": false }, "last": { "type": "string", "mutable": false, "complexType": { "original": "string", "resolved": "string", "references": {} }, "required": false, "optional": false, "docs": { "tags": [], "text": "The last name" }, "attribute": "last", "reflect": false } }; } } //# sourceMappingURL=my-component.js.map