Answers for "increase size of mat dialog"

0

increase size of mat dialog

const dialogRef = this.dialog.open(OpenedDialogComponent, {
      width: '98vw', //sets width of dialog
      height:'70vh', //sets width of dialog
      maxWidth: '100vw', //overrides default width of dialog
      maxHeight: '100vh', //overrides default height of dialog
      disableClose: true //disables closing on clicking outside box. You will need to make a dedicated button to close
    });
Posted by: Guest on July-09-2021

Code answers related to "TypeScript"

Browse Popular Code Answers by Language