blob: 22a1f1b7e1287692a5fbccc1859fdd6c1596b631 [file] [log] [blame]
/**
* @module modules/{{.ElementName}}
* @description <h2><code>{{.ElementName}}</code></h2>
*
* @evt
*
* @attr
*
* @example
*/
import { html } from 'lit-html';
import { define } from '../../../elements-sk/modules/define';
import { ElementSk } from '../../../infra-sk/modules/ElementSk';
export class {{.ClassName}} extends ElementSk {
constructor() {
super({{.ClassName}}.template);
}
private static template = (ele: {{.ClassName}}) => html`<h3>Hello world</h3>`;
connectedCallback(): void {
super.connectedCallback();
this._render();
}
}
define('{{.ElementName}}', {{.ClassName}});