[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/blocks/navigation-submenu/ -> block.json (source)

   1  {
   2      "$schema": "https://schemas.wp.org/trunk/block.json",
   3      "apiVersion": 3,
   4      "name": "core/navigation-submenu",
   5      "title": "Submenu",
   6      "category": "design",
   7      "parent": [ "core/navigation" ],
   8      "description": "Add a submenu to your navigation.",
   9      "textdomain": "default",
  10      "attributes": {
  11          "label": {
  12              "type": "string"
  13          },
  14          "type": {
  15              "type": "string"
  16          },
  17          "description": {
  18              "type": "string"
  19          },
  20          "rel": {
  21              "type": "string"
  22          },
  23          "id": {
  24              "type": "number"
  25          },
  26          "opensInNewTab": {
  27              "type": "boolean",
  28              "default": false
  29          },
  30          "url": {
  31              "type": "string"
  32          },
  33          "title": {
  34              "type": "string"
  35          },
  36          "kind": {
  37              "type": "string"
  38          },
  39          "isTopLevelItem": {
  40              "type": "boolean"
  41          }
  42      },
  43      "usesContext": [
  44          "textColor",
  45          "customTextColor",
  46          "backgroundColor",
  47          "customBackgroundColor",
  48          "overlayTextColor",
  49          "customOverlayTextColor",
  50          "overlayBackgroundColor",
  51          "customOverlayBackgroundColor",
  52          "fontSize",
  53          "customFontSize",
  54          "showSubmenuIcon",
  55          "maxNestingLevel",
  56          "openSubmenusOnClick",
  57          "style"
  58      ],
  59      "supports": {
  60          "reusable": false,
  61          "html": false,
  62          "interactivity": {
  63              "clientNavigation": true
  64          }
  65      },
  66      "editorStyle": "wp-block-navigation-submenu-editor",
  67      "style": "wp-block-navigation-submenu"
  68  }


Generated : Mon May 6 08:20:02 2024 Cross-referenced by PHPXref