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