27 lines
312 B
JavaScript
27 lines
312 B
JavaScript
class Index extends HTMLElement {
|
|
|
|
css = /*css*/ `
|
|
|
|
`
|
|
|
|
html = /*html*/ `
|
|
|
|
`
|
|
|
|
constructor() {
|
|
super();
|
|
|
|
addStyle(this.css);
|
|
this.innerHTML = this.html;
|
|
}
|
|
|
|
connectedCallback() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
customElements.define('index-el', Index);
|
|
export default Index;
|
|
|