div-color-animator
Color animator.
Parameters
Parameters | Description |
---|---|
duration |
int Required parameter. Animation duration in milliseconds. Restriction for the value |
end_value |
string Required parameter. Value that will be set at the end of animation. Valid formats: |
id |
string Required parameter. Animator identificator |
type |
string Required parameter. The value must always be |
variable_name |
string Required parameter. Name of the variable being animated. |
cancel_actions |
array Actions performed when the animator is cancelled. For example, when an action with |
direction |
string Animation direction. This property sets whether an animation should play forward, backward, or alternate back and forth between playing the sequence forward and backward. Possible values: Default value: |
end_actions |
array Actions performed when the animator completes animation. |
interpolator |
string Interpolation function. Possible values: Default value: |
repeat_count |
int The number of times the animation will repeat before it finishes. Restriction for the value Default value: |
start_delay |
int Animation start delay in milliseconds. Restriction for the value Default value: |
start_value |
string Value that will be set at the start of animation. Can be omitted, in which case current value of the variable will be used. Valid formats: |
JSON
{
type*: "color_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",
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",
target: "string",
typed: div-action-typed,
url: "string"
},
...
],
end_value*: "string",
id*: "string",
interpolator: "string",
repeat_count: "int",
start_delay: "int",
start_value: "string",
variable_name*: "string"
}