Bricks Schema 中文文档:方向控件

📄 原始资料  |  展开查看原始 JSON(direction.json){ “$schema”: “https://json-schema.org/draft/2020-12/schema”, “$id”: “bricks://controls/direction”, “schemaVersion”: “2.3”, “title”: “Direction Control”, “description”: “Value schema for direction control type”, “type”: “string”, “enum”: [ “row”, “row-r…

📄 原始资料  |  展开查看原始 JSON(direction.json)
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "bricks://controls/direction",
  "schemaVersion": "2.3",
  "title": "Direction Control",
  "description": "Value schema for direction control type",
  "type": "string",
  "enum": [
    "row",
    "row-reverse",
    "column",
    "column-reverse"
  ],
  "controlProperties": [
    "type",
    "label",
    "inline",
    "css",
    "hasRequired",
    "group",
    "tab",
    "placeholder"
  ],
  "titleZh": "方向控件",
  "descriptionZh": "方向控件的值 schema。"
}

前言

方向控件的值 schema。

基本信息

  • 英文名称Direction Control
  • 中文名称:方向控件
  • Schema IDbricks://controls/direction
  • Schema 版本2.3
  • 类型string

枚举值

  • row
  • row-reverse
  • column
  • column-reverse

Schema 定义

完整 JSON 定义

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "bricks://controls/direction",
  "schemaVersion": "2.3",
  "title": "Direction Control",
  "description": "Value schema for direction control type",
  "type": "string",
  "enum": [
    "row",
    "row-reverse",
    "column",
    "column-reverse"
  ],
  "controlProperties": [
    "type",
    "label",
    "inline",
    "css",
    "hasRequired",
    "group",
    "tab",
    "placeholder"
  ],
  "titleZh": "方向控件",
  "descriptionZh": "方向控件的值 schema。"
}

补充说明

更多细节可参考 Bricks 官方 Academy 文档