div-animation
Element animation parameters.
Parameters
| Parameters | Description |
|---|---|
name |
string Required parameter. Animation type. Possible values: |
duration |
int Animation duration in milliseconds. Restriction for the value Default value: |
end_value |
number Final value of an animation. |
interpolator |
string Animation speed nature: linear — linear animation speed;ease — cubic-bezier(0.25, 0.1, 0.25, 1);ease_in — cubic-bezier(0.42, 0, 1, 1);ease_out — cubic-bezier(0, 0, 0.58, 1);ease_in_out — cubic-bezier(0.42, 0, 0.58, 1).Possible values: Default value: |
items |
array Animation elements. |
repeat |
object Number of animation repetitions. The value has the type Default value: List of possible values: |
start_delay |
int Delay in milliseconds before animation starts. Restriction for the value Default value: |
start_value |
number Starting value of an animation. |
JSON
{
duration: "int",
end_value: "number",
interpolator: "string",
items: [ div-animation, ... ],
name*: "string",
repeat: div-count,
start_delay: "int",
start_value: "number"
}
Was the article helpful?
Previous