OverlayTypes.ElementData

Data that describes an element to be highlighted.

{
  "id": "ElementData",
  "description": "Data that describes an element to be highlighted.",
  "type": "object",
  "properties": [
    {
      "name": "tagName",
      "type": "string"
    },
    {
      "name": "idValue",
      "type": "string",
      "description": "The value of the element's 'id' attribute."
    },
    {
      "name": "className",
      "type": "string",
      "optional": true
    },
    {
      "name": "size",
      "$ref": "Size",
      "optional": true
    },
    {
      "name": "role",
      "type": "string",
      "description": "Computed accessibility role for the element.",
      "optional": true
    },
    {
      "name": "regionFlowData",
      "$ref": "RegionFlowData",
      "optional": true
    },
    {
      "name": "contentFlowData",
      "$ref": "ContentFlowData",
      "optional": true
    },
    {
      "name": "shapeOutsideData",
      "$ref": "ShapeOutsideData",
      "optional": true
    }
  ]
}