Toloka documentation

action.open-close

This component changes the display mode of another component by opening or closing it. What happens to the component depends on the type of component:

  • view.image — expands the image to full screen.
  • view.collapse — expands or collapses a collapsible section of content.

Component properties

Name

Type

Description

type*

"action.open-close"

Set component type

view

ref

Points to the component to perform the action with.