【问题标题】:How to minimize a prime ng dialog?如何最小化启动对话框?
【发布时间】:2020-07-24 00:48:15
【问题描述】:

我想知道如何最小化prime ng 对话框。我阅读了this,但它在 Angular 7 中不起作用。

此外,根据他们的网站here,minimizable 属性不存在

我也在使用primeng的dialogService。有什么方法可以最小化对话框并继续工作。

我使用对话服务打开角度组件的演示代码供参考:

showPopup(header: string, groupName: string, controlName: string) {
const dialogRef = this.dialogService.open(StandardParagrahPopupComponent, {
  header: header,
  width: '60%',
  closable: true,
  data: {
    groupName: groupName
  }
});
dialogRef.onClose.subscribe(comments =>
  this.onPopupClose(comments, controlName)
);

}

【问题讨论】:

    标签: dialog angular7 primeng


    【解决方案1】:

    最小化在 PrimeNG for Angular 中不起作用。
    它仅适用于 JavaServletFaces 的 Primefaces。

    您提供的第一个链接指向 Primefaces Showcase,第二个链接指向 PrimeNG 展示。所以在第二个链接上找不到最小化功能是正确的。

    【讨论】:

      猜你喜欢
      • 2012-07-18
      • 2011-12-31
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-04-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多