div-slide-transition

Slide animation.

Parameters

Parameters Description
type

string

Required parameter.

The value must always be slide.

Available platforms: Android, iOS, web.

distance

object

A fixed value of an offset which the element starts appearing from or at which it finishes disappearing. If no value is specified, the distance to the selected edge of a parent element is used.

The value has the type div-dimension.

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.

edge

string

Edge of a parent element for one of the action types:

  • where the element will move from when appearing;
  • where the element will move to when disappearing.
  • Possible values: left, top, right, bottom.

    Default value: bottom.

    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*: "slide",
      distance: {
        unit: "string",
        value*: "number"
      },
      duration: "int",
      edge: "string",
      interpolator: "string",
      start_delay: "int"
    }