Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
initSwitch = (el) => {
if (!el) return;
this.switchControl = new MDCSwitch(el);
};
initSwitch = ele => ele && this.componentInstances.push(new MDCSwitch(ele));
initTextField = ele => ele && this.componentInstances.push(