UNPKG

willcore.uicore

Version:
17 lines (15 loc) 573 B
import { intermediateAssignableProxyHandler } from "./intermediateAssignableProxyHandler.js"; /** * Proxy class for the main intermediate assignable instanciation. */ class intermediateAssignableProxy{ /** * Factory method. * @param {Proxy} parentProxy * @param {String} parentProperty */ static new(parentProxy, parentProperty,assignable){ return new Proxy(new intermediateAssignableProxy(), new intermediateAssignableProxyHandler(parentProxy,parentProperty,assignable)); } } export { intermediateAssignableProxy };