Toloka documentation

action.rotate

Rotates the specified component by 90 degrees.

By default it rotates to the right, but you can specify the direction in the payload property.

Component properties

Name

Type

Description

type*

"action.rotate"

Set component type

payload

string

Sets the direction of rotation:

  • right (default).
  • left.

view

ref

Points to the component to perform the action with.