How to use the @material/dialog/index.MDCDialog function in @material/dialog

To help you get started, we’ve selected a few @material/dialog 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
initDialog = (dialogEl) => {
    if (!dialogEl) return;
    this.dialogEl = dialogEl;
    this.dialog = new MDCDialog(dialogEl);
  };
github material-components / material-components-web-catalog / src / DialogCatalog.js View on Github external
initDialog = (dialogEl) => {
    if (!dialogEl) return;
    this.dialogEl = dialogEl;
    this.dialog = new MDCDialog(dialogEl);
  };