Jayanth
Jayanth

Reputation: 159

Unable to apply animation for PNotify in Angular app

I am using PNotify for alert message in angular app. I have applied animation, but animation is not working.

Below is the code that which I am using.

PNotify.notice({
          title: 'Animate.css Effect',
          text: 'Part Quantity is greater.',
          modules: {
            Animate: {
              animate: true,
              inClass: 'rotateInDownLeft',
              outClass: 'rotateOutUpRight'
            }
          }
        });

Upvotes: 1

Views: 160

Answers (1)

Ullas Sharma
Ullas Sharma

Reputation: 450

If you are using different modules apart fromapp.module.ts, include BrowserAnimationsModule in those modules also. hope it will solve.

Upvotes: 1

Related Questions