UNPKG

willcore.uicore

Version:
18 lines (14 loc) 496 B
const assignable = require("willcore.core/assignable/assignable"); const serverProxy = require("willcore.server/proxies/server/serverProxy.js"); class scriptAssignable extends assignable { constructor() { super({ string: 1 }, serverProxy); } completionResult() { return false; } completed() { this.parentProxy._scriptRegistry.registerScript("text/javascript", this.bindedValues.string[0]) } } module.exports = scriptAssignable;