blob: c3711be74a23666f53ee72d0b2618be41fef8d3f [file] [log] [blame] [edit]
/**
* @module modules/{{.ElementName}}
* @description <h2><code>{{.ElementName}}</code></h2>
*
* @evt
*
* @attr
*
* @example
*/
import { html } from 'lit/html.js';
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}});