Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
menuFactory = (el) => new MDCMenu(el),
iconFactory = (el) => new MDCSelectIcon(el),
initMenu = (menuEl) => {
if (!menuEl) return;
this.menuEl = menuEl;
this.menu = new MDCMenu(menuEl);
};