Skip to content

JoshuaAmaju/animated-container

Repository files navigation

Built With Stencil

Animated Container

A custom element container that animates the position of itself and its children.

npm install animated-container

Via CDN

<script src"https://unpkg.com/animated-container@0.2.1/dist/animated-container.js"></script>

To use it, include:

<animated-container></animated-container>

Properties

Property Attribute Description Type Default
duration duration number 250
easing easing string "ease-in-out"
stagger stagger number 0