1

我在角度应用程序中使用 PNotify 来获取警报消息。我已经应用了动画,但动画不起作用。

下面是我正在使用的代码。

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

1 回答 1

1

如果您正在使用除 之外的不同模块app.module.ts,也请包含BrowserAnimationsModule在这些模块中。希望它会解决。

于 2020-02-14T08:53:45.297 回答