Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function set() {
const visibility = !get.apply(this);
helper.findProxiesWithMethod(this, setMethodName).forEach((proxy) => {
proxy[setMethodName](visibility);
});
this.$forceUpdate();
}
function get() {
let value = null;
helper.findProxiesWithMethod(this, getMethodName).forEach((proxy) => {
value = proxy[getMethodName]();
});
return value;
}