A custom element container that animates the position of itself and its children.
npm install animated-container
<script src"https://unpkg.com/animated-container@0.2.1/dist/animated-container.js"></script>
To use it, include:
<animated-container></animated-container>
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
duration |
duration |
number |
250 |
|
easing |
easing |
string |
"ease-in-out" |
|
stagger |
stagger |
number |
0 |