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'
}
}
});
If you are using different modules apart fromapp.module.ts
, include BrowserAnimationsModule
in those modules also.
hope it will solve.