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


Set component type


Points to the component to perform the action with.