Bricks Schema 中文文档:对齐内容控件

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

📄 原始资料  |  展开查看原始 JSON(justify-content.json)
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "bricks://controls/justify-content",
  "schemaVersion": "2.3",
  "title": "Justify Content Control",
  "description": "Value schema for justify-content control type",
  "type": "string",
  "enum": [
    "flex-start",
    "flex-end",
    "center",
    "space-between",
    "space-around",
    "space-evenly"
  ],
  "controlProperties": [
    "type",
    "label",
    "css",
    "hasRequired",
    "tab",
    "inline",
    "group",
    "placeholder"
  ],
  "titleZh": "对齐内容控件",
  "descriptionZh": "对齐内容控件的值 schema。"
}

前言

对齐内容控件的值 schema。

基本信息

  • 英文名称Justify Content Control
  • 中文名称:对齐内容控件
  • Schema IDbricks://controls/justify-content
  • Schema 版本2.3
  • 类型string

枚举值

  • flex-start
  • flex-end
  • center
  • space-between
  • space-around
  • space-evenly

Schema 定义

完整 JSON 定义

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "bricks://controls/justify-content",
  "schemaVersion": "2.3",
  "title": "Justify Content Control",
  "description": "Value schema for justify-content control type",
  "type": "string",
  "enum": [
    "flex-start",
    "flex-end",
    "center",
    "space-between",
    "space-around",
    "space-evenly"
  ],
  "controlProperties": [
    "type",
    "label",
    "css",
    "hasRequired",
    "tab",
    "inline",
    "group",
    "placeholder"
  ],
  "titleZh": "对齐内容控件",
  "descriptionZh": "对齐内容控件的值 schema。"
}

补充说明

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