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.

View example in the sandbox

Component properties

NameTypeDescription
type*"action.open-close"

Set component type

viewref

Points to the component to perform the action with.