div-action-animator-start

Launches the specified animator.

Parameters

Parameters Description
animator_id

string

Required parameter.

ID of the animator launched.

Available platforms: iOS, Android, web.

type

string

Required parameter.

The value must always be animator_start.

Available platforms: iOS, Android, web.

direction

string

Animation direction. Determines whether the animation should be played forward, backward, or alternate between forward and backward.

Possible values: normal, reverse, alternate, alternate_reverse.

Available platforms: iOS, Android, web.

duration

int

Animation duration in milliseconds.

Restriction for the value x: x >= 0.

Available platforms: iOS, Android, web.

end_value

object

Overrides the value that will be set after the animation finishes.

The value has the type div-typed-value.

Available platforms: iOS, Android, web.

List of possible values:

  • string_value
  • integer_value
  • number_value
  • color_value
  • boolean_value
  • url_value
  • dict_value
  • array_value
  • interpolator

    string

    Animated value interpolation function.

    Possible values: linear, ease, ease_in, ease_out, ease_in_out, spring.

    Available platforms: iOS, Android, web.

    repeat_count

    object

    Number of times the animation will repeat before stopping. A value of 0 enables infinite looping.

    The value has the type div-count.

    Available platforms: iOS, Android, web.

    List of possible values:

  • div-infinity-count
  • div-fixed-count
  • start_delay

    int

    Delay before the animation is launched in milliseconds.

    Restriction for the value x: x >= 0.

    Available platforms: iOS, Android, web.

    start_value

    object

    Overrides the value that will be set before the animation begins.

    The value has the type div-typed-value.

    Available platforms: iOS, Android, web.

    List of possible values:

  • string_value
  • integer_value
  • number_value
  • color_value
  • boolean_value
  • url_value
  • dict_value
  • array_value
  • JSON
    {
      type*: "animator_start",
      animator_id*: "string",
      direction: "string",
      duration: "int",
      end_value: div-typed-value,
      interpolator: "string",
      repeat_count: div-count,
      start_delay: "int",
      start_value: div-typed-value
    }