UNPKG

element-vir

Version:

Heroic. Reactive. Declarative. Type safe. Web components without compromise.

11 lines (10 loc) 246 B
import { defineElement } from 'element-vir'; import { html } from '../index.js'; export const MySimple = defineElement()({ tagName: 'my-simple', render() { return html ` <span>Hello there!</span> `; }, });