{
//log input state
if ((e.target as HTMLInputElement).checked) {
this._isObject = true;
} else {
this._isObject = false;
}
}}
>with namespaces
${this._isObject
? html`
`
: html`
{
this.handleInlangProjectChange(
(e.target as HTMLInputElement).value,
this.property,
this.moduleId
);
}}
>
`}
`;
}
}
// add types
declare global {
interface HTMLElementTagNameMap {
"path-pattern-input": PathPatternInput;
}
}