Skip to content

IconMulti

icon-multi

Description

Icon options for the user to select from.

Attributes

  • title
  • enum
  • $capture.list: map where the key matches a value list option and the result is an object
    • color
    • icon
    • title
  • $capture.orient: display orientation, tiles | list

Example

{
  "type": "string",
  "$capture": {
    "as": "icon-multi",
    "orient": "tiles",
    "list": {
      "val1": {
        "color": "red",
        "icon": "heart",
        "title": "value1"
      }
    }
  },
  "$display": {},
  "title": "icon-multi metric",
  "enum": [
    "val1",
    "val2",
    "val3"
  ]
}