

A 'position' object will be needed as well as a 'frames' array. 'seek': Sync animation with cursor position. If the cursor leaves the animation, it pauses. 'pauseHold': Hover over the animation for the length of the 'frames' property to cause a transition. If the cursor leaves the animation, it plays in reverse. 'hold': Hover over the animation for the length of the 'frames' property to cause a transition. Example.Ī 'repeat' property containing a number can then be used to define how many times the animation will repeat before transiting 'repeat': Play the animation x amount of times before transiting.

Optionally a 'count' property can be defined to transit after x amount of hovers 'hover': Causes a transition when hovering over the animation is detected. Optionally a 'count' property can be defined to transit after x amount of clicks 'click': Causes a transition when clicking on the animation is detected. Transition can have the following values: Transition defines the interaction that will cause Lottie-Interactivity to go to the next interaction link in the chain. The parent div will be taken as a container. The configuration can include a container field as shown in the next example. "cursor" where the scrolling of the animation will be synced to the cursor position within the container. In this case it is set to 100.Ĭonfiguration modes include "scroll" where the animation will be synced to the scrolling of the window and This refers to the percentage of the viewport.Įnsure that the ending frame is the frame you want the interactivity to end at. The visibility arrays first value is the start and the second value is the end. Multiple objects can be added into this array and therefore multipleĪctions such as "seek","play", "stop" and "loop", can be set.Įach object has a start and end which is essentially a percentage for the height of the lottie container and This object takes an array named actions whichĬonsists of an array of objects. Configuration will contain an actions object. The name of the player ie: 'firstLottie' in this example is the ID set to the lottie web component on the Omnis velit quis quia aliquid quos molestiae? Molestiae ipsam quasi est alias obcaecati, voluptates aperiam architecto exercitationem. Lorem ipsum dolor sit amet, consectetur adipisicing elit.

Non iste ad impedit neque maiores porro similique ab saepe aliquid, doloribus itaque? Voluptates repellendus laudantium accusantium. Lorem ipsum, dolor sit amet consectetur adipisicing elit. Perspiciatis saepe, esse quo nulla quam iure ipsam ducimus aliquid omnis architecto consequatur non expedita id blanditiis. Lorem ipsum dolor, sit amet consectetur adipisicing elit. You will need the following tools to make an animated NFT website. You can use music, animation, and color to make your website more attractive. If you want to make your website more appealing to your visitors, you should make an animated website. The animated website is more interesting than the static website. But they don’t like to read long articles. However, when I try to initiate it with window. People like to read the news and the stories. People like to watch videos and listen to music. If you want to create a website that is more interesting, you should make an animated website. You can use color, font, animation, and music to make your website more attractive. The animated website is more attractive than the static website. If you want to create a website that is appealing and you want to engage your visitors, you should make an animated website. Why should you make an animated NFT website? I will show you the steps to make an animated NFT website.Īs a result, you will be able to create an amazing animated website in a few hours. A lot of people are interested in animated websites.
