div-number-animator
Numeric value animator.
Parameters
Parameters | Description |
---|---|
duration |
int Required parameter. Animation duration in milliseconds. Restriction for the value Available platforms: Android. |
end_value |
number Required parameter. The value the variable will have when the animation ends. Available platforms: Android. |
id |
string Required parameter. Animator ID. Available platforms: Android. |
type |
string Required parameter. The value must always be Available platforms: Android. |
variable_name |
string Required parameter. Name of the variable being animated. Available platforms: Android. |
cancel_actions |
array Actions to be performed if the animator is canceled. For example, when a command with the type Available platforms: Android. |
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. |
end_actions |
array Actions to be performed after the animator finishes. Available platforms: Android. |
interpolator |
string Animated value interpolation function. Possible values: Default value: Available platforms: Android. |
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. List of possible values: |
start_delay |
int Delay before the animation is launched in milliseconds. Restriction for the value Default value: Available platforms: Android. |
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. |
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"
}