Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
initList = (listEl) => {
if (!listEl) return;
this.listEl = listEl;
this.list = new MDCList(listEl);
}
listFactory = (el) => new MDCList(el)) {
this.menuSurface_ = menuSurfaceFactory(this.root_);