Animations with p-Dialog

UI Components for Angular
Post Reply
VortexLWD
Posts: 7
Joined: 27 Sep 2019, 13:20

16 Oct 2021, 11:51

Hi, I am trying to use a shake animation on a dialog. I can animate the contents of the dialog, but cant manage to animate the complete dialog.

<p-dialog header="Anim Dialog" [(visible)]="displayDialog">

<p [@shake]="shakeState" (@shake.done)="shakeDone()">Shake</p>

<p [@bounce]="bounceState" (@bounce.done)="bounceDone()">Bounce</p>

</p-dialog>

I've searched to forum , but couldn't find anything useful. Can someone share a link to an example?

Your help will be much appreciated! Thanks :)

(using)
"primeng": "^11.1.0" ,
"angular-animations": "^0.11.0",
"@angular/animations": "^12.2.9",

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 13 guests