div-animation
Element animation parameters.
Parameters
Parameters | Description |
---|---|
name |
string Required parameter. Animation type. Possible values: Available platforms: Android, iOS, web. |
duration |
int Animation duration in milliseconds. Restriction for the value Default value: Available platforms: Android, iOS, web. |
end_value |
number Final value of an animation. Available platforms: Android, iOS, web. |
interpolator |
string Animation speed nature. When the value is set to linear — cubic-bezier(0, 0, 1, 1);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: Available platforms: Android, iOS, web. |
items |
array Animation elements. Available platforms: Android, iOS, web. |
repeat |
object Number of animation repetitions. The value has the type Default value: Available platforms: Android, iOS, web. List of possible values: |
start_delay |
int Delay in milliseconds before animation starts. Restriction for the value Default value: Available platforms: Android, iOS, web. |
start_value |
number Starting value of an animation. Available platforms: Android, iOS, web. |
JSON
{
duration: "int",
end_value: "number",
interpolator: "string",
items: [ div-animation, ... ],
name*: "string",
repeat: div-count,
start_delay: "int",
start_value: "number"
}