Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
if (!this.listElement) {
return false;
}
const elementAtIndex =
mwcList.getElementAtIndex(this.listElement, index);
if (!elementAtIndex) {
return false;
}
return !!closest(elementAtIndex, '.mdc-menu__selection-group');
},
};
this.mdcMenuFoundation = new MDCMenuFoundation(mdcMenuAdapter);
this.mdcMenuFoundation.init();
}