1. Canvas Components
  2. Carousel View Component

Canvas Components

Carousel View Component

The carousel view component allows you to display a horizontal scrollable list of images within the webchat interface.

Example Usage

        {
  "platforms": {
    "webchat": {
      "sessionuuid": "~~stub.data._incoming_webchat_data.sessionuuid",
      "webchat_control_event": {
        "action": "render_component",
        "params": {
          "component_type": "carousel",
          "component_params": {
            "images": [
              "IMAGE_URL",
              "IMAGE_URL"
            ]
          }
        }
      }
    }
  }
}

      

Parameters

  • images - Array of image URLs to display in the carousel