Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function handleMDCCheckboxes(checkboxesEl) {
for (var i = 0; i < checkboxesEl.length; i++) {
new MDCCheckbox(checkboxesEl[i]);
}
};
this.initCheckbox = checkboxEl => checkboxEl && this.destroyableComponents.push(new MDCCheckbox(checkboxEl));