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.

View example

Component properties

NameTypeDescription
type*"action.rotate"Set component type.
payloadstring

Sets the direction of rotation:

  • right (default).
  • left.
viewrefPoints to the component to perform the action with.
Contact support
Introduction
Getting started
Important tips
Useful recommendations
Working with Toloka
Projects
Pools
Tasks
Results
Project analysis
Toloka settings
Task interface
Template Builder
HTML/CSS/JS editor
Help and support
Frequently asked questionsTroubleshootingSupportGlossary