Menu

Version- 1.0.0

Uses

The Menu component is used within another component. Config can be added form dynamic pages.

Attributes

{
  "attributes": {
    "label": {
      "type": "string",
      "required": true
    },
    "link": {
      "type": "string",
      "required": true
    },
    "type": {
      "type": "enumeration",
      "enum": ["External", "Internal"]
    },
    "target": {
      "type": "enumeration",
      "enum": ["_blank", "_self"]
    },
    "icon": {
      "type": "string",
      "default": "bx:smile"
    },
    "disabled": {
      "type": "boolean",
      "default": false
    },
    "child": {
      "type": "component",
      "repeatable": true,
      "component": "config.link"
    }
  }
}