How to use the @material/list/index.MDCList function in @material/list

To help you get started, we’ve selected a few @material/list examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github material-components / material-components-web-catalog / src / DialogCatalog.js View on Github external
initList = (listEl) => {
    if (!listEl) return;
    this.listEl = listEl;
    this.list = new MDCList(listEl);
  }
github material-components / material-components-web / packages / mdc-menu / index.js View on Github external
    listFactory = (el) => new MDCList(el)) {
    this.menuSurface_ = menuSurfaceFactory(this.root_);