Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
mwcMenu.position(menuElement, position);
},
setMaxHeight: (height) => {
const menuElement = this.menuElement;
if (!menuElement) {
return;
}
mwcMenu.maxHeight(menuElement, height);
},
};
this.mdcMenuSurfaceFoundation =
new MDCMenuSurfaceFoundation(mdcMenuSurfaceAdapter);
this.mdcMenuSurfaceFoundation.init();
}