UNPKG

willcore.uicore

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