div-scale-transition

Scale animation.

Parameters

Parameters Description
type

string

Required parameter.

The value must always be scale.

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.

pivot_x

number

Relative coordinate X of the point that won't change its position in case of scaling.

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

Default value: 0.5.

Available platforms: Android, iOS, web.

pivot_y

number

Relative coordinate Y of the point that won't change its position in case of scaling.

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

Default value: 0.5.

Available platforms: Android, iOS, web.

scale

number

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

Restriction for the value x: x >= 0.0.

Default value: 0.0.

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*: "scale",
  duration: "int",
  interpolator: "string",
  pivot_x: "number",
  pivot_y: "number",
  scale: "number",
  start_delay: "int"
}