You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an Angular 14 project set up and running and I'd like to integrate ng2-animate-on-scroll into it.
I think I did everything right, (hopefully someone can correct me here), but the animation is not playing when the content is scrolled into the viewport.
<header><app-navbar></app-navbar></header><router-outlet></router-outlet><app-footer></app-footer><divclass="container"><p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus nec
mauris ut felis mattis auctor quis nec augumcorper ultricies fringilla.
Nulla tincidunt urna nec eros aliquet feugiat.
</p><divanimateOnScrollanimationName="animated fadeIn">
animated content upon appearing in the viewport..
</div></div>
With these modifications the div that is supposed to be animated just simply displays in the dom without being animated.
Do you have any suggestions?
I am willing to provide more code if required.
P.S.: I have a feeling it has nothing to do with this library but some other setting.
The text was updated successfully, but these errors were encountered:
Hi,
Raising an issue for help.
I have an Angular 14 project set up and running and I'd like to integrate
ng2-animate-on-scroll
into it.I think I did everything right, (hopefully someone can correct me here), but the animation is not playing when the content is scrolled into the viewport.
This is what I got so far:
packages.json:
app.module.ts:
app.component.html:
With these modifications the div that is supposed to be animated just simply displays in the dom without being animated.
Do you have any suggestions?
I am willing to provide more code if required.
P.S.: I have a feeling it has nothing to do with this library but some other setting.
The text was updated successfully, but these errors were encountered: