app.offprint.block.imageDiff

dmeznw3lbvqd6yyi.glorp.network View official

Documentation

main object

No description available.

Properties

alignment string Optional

Horizontal alignment

caption string Optional

Comparison caption

labels array of string Optional

Labels for the images [before label, after label]

maxLength: 2 itemsminLength: 2 items
width string Optional

CSS width value

View raw schema
{
  "type": "object",
  "required": [
    "images"
  ],
  "properties": {
    "width": {
      "type": "string",
      "description": "CSS width value"
    },
    "images": {
      "type": "array",
      "items": {
        "ref": "app.offprint.block.imageGrid#gridImage",
        "type": "ref"
      },
      "required": true,
      "maxLength": 2,
      "minLength": 2,
      "description": "Exactly 2 images for comparison [before, after]"
    },
    "labels": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxLength": 2,
      "minLength": 2,
      "description": "Labels for the images [before label, after label]"
    },
    "caption": {
      "type": "string",
      "description": "Comparison caption"
    },
    "alignment": {
      "enum": [
        "left",
        "center",
        "right"
      ],
      "type": "string",
      "description": "Horizontal alignment"
    }
  }
}

Lexicon Garden

@