Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
initDialog = (dialogEl) => {
if (!dialogEl) return;
this.dialogEl = dialogEl;
this.dialog = new MDCDialog(dialogEl);
};
initDialog = (dialogEl) => {
if (!dialogEl) return;
this.dialogEl = dialogEl;
this.dialog = new MDCDialog(dialogEl);
};