HOC SiteDokümantasyon

Slot slider

Decoration and visibility use Dekorasyon ve görünürlük (BlockShell).

Carousel of slide slots. Sidebar sections for size, animation, and the active slide are editor conveniences; saved props live under slides, layout.slideSize, layout.align, layout.controls, and the playback / neighbor / pose groups. Slide width uses layout.slideSize (same responsive shape as box sizing on other blocks).

Fields

slides

Carousel slides; each slide has a stable id (for ops paths like slides[id=…]), nested blocks in content, and an optional panel slot for side-panel title and CTA.

slides: [{ id: string, content: [], panel: [] }]

arrayBinding

Whole-value {{var:id}} or {{bind:id}} selecting an array or entry[] source. VariableArrayTemplateBlock repeats its slot per item. SlotSliderBlock repeats its first slide per item, with {{var:item.*}} and the row index, and keeps static slides when this is empty. Nested paths like {{var:parent.field}} work when that field is array-like.

arrayBinding: "{{var:hits}}"

layout

slideSize

Authored slide size. Stored at layout.slideSize. set and remove accept that path or the flat key.

layout: {
  slideSize: { width: { mode: [{ if: "*", is: "fill" }] } }
}

align

start keeps a narrow slide on the leading edge. center places it in the viewport. Stored at layout.align.

Options: left, center, right

layout: {
  align: [{ if: "*", is: "start" }]
}

controls

Optional chrome. arrows, counter (1 / N), and dots. Stored at layout.controls.

layout: {
  controls: { arrows: [{ if: "*", is: true }], counter: [{ if: "*", is: false }], dots: [{ if: "*", is: true }] }
}

Default props

{
  "slides": [
    {
      "id": "slide-default",
      "content": []
    }
  ],
  "shell": {
    "visibility": [
      {
        "if": "*",
        "is": true
      }
    ],
    "anchor": {
      "anchorId": [
        {
          "if": "*",
          "is": ""
        }
      ],
      "anchorKey": [
        {
          "if": "*",
          "is": ""
        }
      ]
    },
    "pointerEvents": [
      {
        "if": "*",
        "is": "auto"
      }
    ]
  },
  "playback": {
    "transition": [
      {
        "if": "*",
        "is": "slide"
      }
    ],
    "transitionDuration": [
      {
        "if": "*",
        "is": 400
      }
    ],
    "transitionEasing": [
      {
        "if": "*",
        "is": "ease"
      }
    ],
    "autoPlay": [
      {
        "if": "*",
        "is": false
      }
    ],
    "autoPlayContinuous": [
      {
        "if": "*",
        "is": false
      }
    ],
    "autoPlayInterval": [
      {
        "if": "*",
        "is": 6000
      }
    ]
  },
  "neighbors": {
    "showPrevSlides": [
      {
        "if": "*",
        "is": true
      }
    ],
    "prevRepeat": [
      {
        "if": "*",
        "is": false
      }
    ],
    "showPrevCount": [
      {
        "if": "*",
        "is": 1
      }
    ],
    "prevExtrapolation": {
      "translateXMultiplier": [
        {
          "if": "*",
          "is": 1
        }
      ],
      "translateYMultiplier": [
        {
          "if": "*",
          "is": 1
        }
      ],
      "translateZMultiplier": [
        {
          "if": "*",
          "is": 1
        }
      ],
      "scaleMultiplier": [
        {
          "if": "*",
          "is": 1
        }
      ],
      "opacityMultiplier": [
        {
          "if": "*",
          "is": 1
        }
      ],
      "blurMultiplier": [
        {
          "if": "*",
          "is": 1
        }
      ]
    },
    "showNextSlides": [
      {
        "if": "*",
        "is": true
      }
    ],
    "nextRepeat": [
      {
        "if": "*",
        "is": false
      }
    ],
    "showNextCount": [
      {
        "if": "*",
        "is": 1
      }
    ],
    "nextExtrapolation": {
      "translateXMultiplier": [
        {
          "if": "*",
          "is": 1
        }
      ],
      "translateYMultiplier": [
        {
          "if": "*",
          "is": 1
        }
      ],
      "translateZMultiplier": [
        {
          "if": "*",
          "is": 1
        }
      ],
      "scaleMultiplier": [
        {
          "if": "*",
          "is": 1
        }
      ],
      "opacityMultiplier": [
        {
          "if": "*",
          "is": 1
        }
      ],
      "blurMultiplier": [
        {
          "if": "*",
          "is": 1
        }
      ]
    }
  },
  "poses": {
    "currentPose": {
      "opacity": [
        {
          "if": "*",
          "is": 1
        }
      ],
      "scaleX": [
        {
          "if": "*",
          "is": 1
        }
      ],
      "scaleY": [
        {
          "if": "*",
          "is": 1
        }
      ]
    },
    "prevPose": {
      "opacity": [
        {
          "if": "*",
          "is": 0.7
        }
      ],
      "scaleX": [
        {
          "if": "*",
          "is": 0.9
        }
      ],
      "scaleY": [
        {
          "if": "*",
          "is": 0.9
        }
      ],
      "translateX": [
        {
          "if": "*",
          "is": -60
        }
      ],
      "blurPx": [
        {
          "if": "*",
          "is": 0
        }
      ]
    },
    "nextPose": {
      "opacity": [
        {
          "if": "*",
          "is": 0.7
        }
      ],
      "scaleX": [
        {
          "if": "*",
          "is": 0.9
        }
      ],
      "scaleY": [
        {
          "if": "*",
          "is": 0.9
        }
      ],
      "translateX": [
        {
          "if": "*",
          "is": 60
        }
      ],
      "blurPx": [
        {
          "if": "*",
          "is": 0
        }
      ]
    },
    "restPose": {
      "opacity": [
        {
          "if": "*",
          "is": 0
        }
      ]
    }
  }
}