Skip to content

Tabs

wcm/dialogs/components/tabs

Description

Allows user to add tab panel.

Example

"tabs": {
  "sling:resourceType": "wcm/dialogs/components/tabs",
  "tabOne": {
    "sling:resourceType": "wcm/dialogs/components/tab",
    "label": "Tab One",
    "title": {
      "sling:resourceType": "wcm/dialogs/components/textfield",
      "name": "title",
      "label": "Title"
    }
  },
  "tabTwo": {
    "sling:resourceType": "wcm/dialogs/components/tab",
    "label": "Tab Two",
    "image": {
      "sling:resourceType": "wcm/dialogs/components/assetreference",
      "mimeTypes": ["image/*"],
      "name": "image",
      "label": "Image"
    }
  }
}