UNPKG

willcore.ui

Version:

Simple, Fast And Powerful Client-Side HTML UI Framework.

22 lines (17 loc) 452 B
import { bindable } from "../binding/bindable.js"; import { elementProxy } from "../proxies/elementProxy/elementProxy.js"; class component extends bindable { constructor() { super({ function: 1 }, 0); } static get noName() { return true; } static get noValues() { return elementProxy; } updateDOM(value){ this.element.innerHTML = value; } } export { component };