HOC SiteDokümantasyon

Two-sided card

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

Two-slot flip card. dualSlot keeps front and back slots and can flip on hover, tap, or both; backfaceVisible renders a single content slot without 3D. Faces live in the slot array; showBack is an editor-only preview.

Fields

flipInteraction

dualSlot only: flip on hover, tap, both, or never. Default off.

Options: hover, tap, hoverAndTap

flipInteraction: [{ if: "*", is: "off" }]

faces

Faces.

faces: []

display

mode

dualSlot renders front + back with optional flip. backfaceVisible renders one content slot without 3D.

display: {
  mode: [{ if: "*", is: "dualSlot" }]
}

Default props

{
  "flipInteraction": [
    {
      "if": "*",
      "is": "off"
    }
  ],
  "faces": [
    {
      "content": []
    },
    {
      "content": []
    }
  ],
  "shell": {
    "visibility": [
      {
        "if": "*",
        "is": true
      }
    ],
    "anchor": {
      "anchorId": [
        {
          "if": "*",
          "is": ""
        }
      ],
      "anchorKey": [
        {
          "if": "*",
          "is": ""
        }
      ]
    },
    "pointerEvents": [
      {
        "if": "*",
        "is": "auto"
      }
    ]
  },
  "display": {
    "mode": [
      {
        "if": "*",
        "is": "dualSlot"
      }
    ],
    "showBack": [
      {
        "if": "*",
        "is": false
      }
    ]
  }
}