Unable to apply animation for PNotify in Angular app

155 views Asked by At

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'
            }
          }
        });
1

There are 1 answers

0
Ullas Sharma On BEST ANSWER

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