div-scale-transition

Scale animation.

JSON

{
  type*: "scale",
  duration: "int",
  interpolator: "string",
  pivot_x: "number",
  pivot_y: "number",
  scale: "number",
  start_delay: "int"
}

Parameters

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

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.

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.

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.

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

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

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.

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.

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.

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