I am using angular material dialog and AngularJS 7. I am able to drag the dialog but I want to make that dialog re sizable so that used can resize it to what ever the size he wants.
const dialogRef = this.dialog.open(DialogCompComponent,{data : "hello"});
dialogRef.afterClosed().subscribe(result => {
console.log(`Dialog closed: ${result});
});
Where DialogCompComponent is the dialog content component.How to make this angular material dialog re-sizable?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…