Skip to content

DataBlock

data-block | data

Description

Display the data blocks

Attributes

  • title
  • enum: string value array
  • config:
    • sort: true | false
    • transform: expression
  • $data.source:
    • display
    • value
    • icon
    • color
  • $connect: connect string
{
  "type": "string",
  "$capture": {},
  "$display": {
    "as": "data-block"
  },  
  "config": {
    "sort": true
  },
  "$data": {
    "source": [
      {
        "display": "test1",
        "value": "test1",
        "icon": "star",
        "color": "red",
        "tableData": {
          "id": 0
        }
      },
      {
        "display": "abc",
        "value": "abc",
        "icon": "heart",
        "color": "blue"
      }
    ]
  },
  "title": "Data block"
}