aboutsummaryrefslogtreecommitdiff
path: root/examples/integrations-playground/src/components/Test.js
blob: 7f565f77743833c2c932693bdd7d54fb7b1dc094 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { LitElement, html } from 'lit';

export const tagName = 'calc-add';

class CalcAdd extends LitElement {
	static get properties() {
		return {
			num: {
				type: Number,
			},
		};
	}

	render() {
		return html` <div>Number: ${this.num}</div> `;
	}
}

customElements.define(tagName, CalcAdd);