div-fade-transition

Transparency animation.

JSON

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

Parameters

ParametersDescription
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.

duration

int

Animation duration in milliseconds.

Restriction for the value x: x >= 0.

Default value: 200.

interpolator

string

Transition speed nature.

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

Default value: ease_in_out.

start_delay

int

Delay in milliseconds before animation starts.

Restriction for the value x: x >= 0.

Default value: 0.

type

string

Required parameter.

The value must always be fade.

ParametersDescription
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.

duration

int

Animation duration in milliseconds.

Restriction for the value x: x >= 0.

Default value: 200.

interpolator

string

Transition speed nature.

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

Default value: ease_in_out.

start_delay

int

Delay in milliseconds before animation starts.

Restriction for the value x: x >= 0.

Default value: 0.

type

string

Required parameter.

The value must always be fade.