SAppearFeature
This feature allows you to make some elements appear when it enter the viewport with different apparition animation as well as custom one depending on your needs.
Preview
Bottom
Loading code example. Please wait...
Top
Loading code example. Please wait...
Right
Loading code example. Please wait...
Left
Loading code example. Please wait...
Import
Install
Interface
-
inbottomString
Specify the animation you want to use to display your element
-
outString
Specify the animation you want to use to hide your item
-
delay[500]Array<Number>
Specify a delay before animation in or out your element. Can be an array of two number that define the min delay and the max delay. The real delay will be random between these two numbers
-
duration[500]Array<Number>
Specify the duration of the animation in ms. Can be an array of two number that define the min delay and the max duration. The real duration will be random between these two numbers
-
distance[100,120]Array<Number>
Specify the distance that your element will move if you have set an "in" direction. Can be an array of two number that define the min delay and the max distance. The real duration will be random between these two numbers
-
appearfalseBoolean
Specify if the element has to appear. This is usually setted automatically when needed