div-fade-transition

Transparency animation.

Parameters

Parameters Description
type

string

Required parameter.

The value must always be fade.

Available platforms: Android, iOS, web.

alpha

number

Value of the alpha channel which the element starts appearing from or at which it finishes disappearing.

Restriction for the value x: x >= 0.0 && x <= 1.0.

Default value: 0.0.

Available platforms: Android, iOS, web.

duration

int

Animation duration in milliseconds.

Restriction for the value x: x >= 0.

Default value: 200.

Available platforms: Android, iOS, web.

interpolator

string

Transition speed nature.

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

Default value: ease_in_out.

Available platforms: Android, iOS, web.

start_delay

int

Delay in milliseconds before animation starts.

Restriction for the value x: x >= 0.

Default value: 0.

Available platforms: Android, iOS, web.

JSON
{
  type*: "fade",
  alpha: "number",
  duration: "int",
  interpolator: "string",
  start_delay: "int"
}