willcore.ui
Version:
Simple, Fast And Powerful Client-Side HTML UI Framework.
22 lines (17 loc) • 453 B
JavaScript
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.disabled = !!value;
}
}
export { component };