<
h1
style
=
"color: green"
>GeeksforGeeks</
h1
>
<
h5
>Angular PrimeNG Dialog Styling</
h5
>
<
p-button
(click)="GFG()"
icon
=
"pi pi-check"
styleClass
=
"p-button-success"
label
=
"Click here Geek!"
>
</
p-button
>
<
p-dialog
header
=
"GeeksforGeeks"
[(visible)]="gfg" [modal]="true"
[draggable]="true" [resizable]="true"
[style]="{width: '75vw'}"
[baseZIndex]="10000">
<
p
>
Angular PrimeNG is an open-source
framework with a rich set of native
Angular UI components that are used
for great styling and this framework
is used to make responsive websites
with very much ease.
</
p
>
<
ng-template
pTemplate
=
"footer"
>
<
p-button
icon
=
"pi pi-check"
(click)="
gfg
=
false
"
label
=
"Confirm"
styleClass
=
"p-button-text"
>
</
p-button
>
<
p-button
icon
=
"pi pi-times"
(click)="
gfg
=
false
"
label
=
"Reject"
>
</
p-button
>
</
ng-template
>
</
p-dialog
>