【发布时间】:2023-12-16 15:27:01
【问题描述】:
我想知道如何最小化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)
);
}
【问题讨论】: