div-number-animator
Numeric value animator.
Parameters
Parameters | Description |
---|---|
duration |
int Required parameter. Animation duration in milliseconds. Restriction for the value Available platforms: Android, iOS, web. |
end_value |
number Required parameter. The value the variable will have when the animation ends. Available platforms: Android, iOS, web. |
id |
string Required parameter. Animator ID. Available platforms: Android, iOS, web. |
type |
string Required parameter. The value must always be Available platforms: Android, iOS, web. |
variable_name |
string Required parameter. Name of the variable being animated. Available platforms: Android, iOS, web. |
cancel_actions |
array Actions performed when the animation is canceled. For example, when a command with the 'animator_stop' type is received. Available platforms: Android, iOS, web. |
direction |
string Animation direction. Determines whether the animation should be played forward, backward, or alternate between forward and backward. Possible values: Default value: Available platforms: Android, iOS, web. |
end_actions |
array Actions when the animation is completed. Available platforms: Android, iOS, web. |
interpolator |
string Animated value interpolation function. Possible values: Default value: Available platforms: Android, iOS, web. |
repeat_count |
object Number of times the animation will repeat before stopping. A value of The value has the type Default value: Available platforms: Android, iOS, web. List of possible values: |
start_delay |
int Delay before the animation is launched in milliseconds. Restriction for the value Default value: Available platforms: Android, iOS, web. |
start_value |
number The value the variable will have when the animation starts. If the property isn't specified, the current value of the variable will be used. Available platforms: Android, iOS, web. |
JSON
{
type*: "number_animator",
cancel_actions: [
{
download_callbacks: {
on_fail_actions: [ div-action, ... ],
on_success_actions: [ div-action, ... ]
},
is_enabled: "bool_int",
log_id*: "string",
log_url: "string",
menu_items: [
{
action: div-action,
actions: [ div-action, ... ],
text*: "string"
},
...
],
payload: "object",
referer: "string",
scope_id: "string",
target: "string",
typed: div-action-typed,
url: "string"
},
...
],
direction: "string",
duration*: "int",
end_actions: [
{
download_callbacks: {
on_fail_actions: [ div-action, ... ],
on_success_actions: [ div-action, ... ]
},
is_enabled: "bool_int",
log_id*: "string",
log_url: "string",
menu_items: [
{
action: div-action,
actions: [ div-action, ... ],
text*: "string"
},
...
],
payload: "object",
referer: "string",
scope_id: "string",
target: "string",
typed: div-action-typed,
url: "string"
},
...
],
end_value*: "number",
id*: "string",
interpolator: "string",
repeat_count: div-count,
start_delay: "int",
start_value: "number",
variable_name*: "string"
}