📜  增加垫子对话框的大小 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:29.451000             🧑  作者: Mango

代码示例1
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
    });