import {customElement, DeesElement, TemplateResult, property, html} from '@designestate/dees-element'; declare global { interface HTMLElementTagNameMap { 'dees-input-text': DeesInputText; } } @customElement('dees-input-text') export class DeesInputText extends DeesElement { public static demo = () => html``; @property() public label: string = 'Label'; @property() public key: string; @property() public value: string; public render(): TemplateResult { return html `
${this.label}
`; } public async updateValue(eventArg: Event) { const target: any = eventArg.target; this.value = target.value; } }