PrimeNG (V18) Responsive Dynamic Dialog #3225
Unanswered
AhmedNourElDinMohamed
asked this question in
PrimeNG
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
this.dialogRef = this.dialogService.open(Component, {
header: 'Header',
modal: true,
closable: true,
width: '50vw',
breakpoints: {
'960px': '75vw', // When screen width is less than 960px, dialog width will be 75vw
'640px': '90vw', // When screen width is less than 640px, dialog width will be 90vw
},
});
Beta Was this translation helpful? Give feedback.
All reactions