UNPKG

element-vir

Version:

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

10 lines (9 loc) 254 B
import { defineElement, html } from '../index.js'; export const MyWithInputs = defineElement()({ tagName: 'my-with-inputs', render({ inputs }) { return html ` <span>Hello there ${inputs.username}!</span> `; }, });