# Relevant Cardscript iconTreeItem

Cardscript

Nodes belonging to a tree structure

# Example

"No example! :-("

# Required properties

# label

Title displayed for the tree item.

  • Type: string

# Optional properties

# children

  • Type: array

# JSON Schema

{
  "type": "TreeItem",
  "description": "Nodes belonging to a tree structure",
  "properties": {
    "label": {
      "type": "string",
      "description": "Title displayed for the tree item."
    },
    "children": {
      "type": "array"
    }
  },
  "required": [
    "label"
  ],
  "typeSafe": "tree-item",
  "example": "FIXME!",
  "propertySummary": [
    {
      "name": "label",
      "type": "string",
      "required": "Required",
      "text": "Title displayed for the tree item."
    },
    {
      "name": "children",
      "type": "array",
      "required": "Optional"
    }
  ]
}
Last Updated: 9/10/2023, 11:30:14 AM