0.0.4 • Published 2 years ago
aosa v0.0.4
aosa
This library was generated with Nx.
github-monorepo link
aosa provides angular app with on scroll animations
example: link
first import import { AosaModule } from 'aosa';
into NgModule
then:
<div
class="grid grid-cols-4 gap-12 bg-gray-600 p-10"
aosa
[animationType]="'transform'"
[animationDir]="'bottom'"
[trackArray]="articles$ | async"
(lastScroll)="onLastScroll($event)"
>
<div
*ngFor="let item of articles$ | async"
class="w-auto h-96 bg-gray-700 my-5 shadow-xl"
aosa-item
>
{{ item.id }}
</div>
</div>
demo app using tailwind