div-transform

Transformation of the element.

Parameters

Parameters Description
pivot_x

object

X coordinate of the rotation axis.

The value has the type div-pivot.

Default value: {"type": "pivot-percentage","value":50}.

Available platforms: Android, iOS, web.

List of possible values:

  • div-pivot-fixed
  • div-pivot-percentage
  • pivot_y

    object

    Y coordinate of the rotation axis.

    The value has the type div-pivot.

    Default value: {"type": "pivot-percentage","value":50}.

    Available platforms: Android, iOS, web.

    List of possible values:

  • div-pivot-fixed
  • div-pivot-percentage
  • rotation

    number

    Degrees of the element rotation. Positive values used for clockwise rotation.

    Available platforms: Android, iOS, web.

    JSON
    {
      pivot_x: div-pivot,
      pivot_y: div-pivot,
      rotation: "number"
    }