Bricks Schema 中文文档:文字对齐控件

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

📄 原始资料  |  展开查看原始 JSON(text-align.json)
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "bricks://controls/text-align",
  "schemaVersion": "2.3",
  "title": "Text Align Control",
  "description": "Value schema for text-align control type",
  "type": "string",
  "enum": [
    "left",
    "center",
    "right",
    "justify"
  ],
  "controlProperties": [
    "type",
    "label",
    "tab",
    "group",
    "inline",
    "css",
    "deprecated",
    "placeholder",
    "hasRequired"
  ],
  "titleZh": "文字对齐控件",
  "descriptionZh": "文字对齐控件的值 schema。"
}

前言

文字对齐控件的值 schema。

基本信息

  • 英文名称Text Align Control
  • 中文名称:文字对齐控件
  • Schema IDbricks://controls/text-align
  • Schema 版本2.3
  • 类型string

枚举值

  • left
  • center
  • right
  • justify

Schema 定义

完整 JSON 定义

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "bricks://controls/text-align",
  "schemaVersion": "2.3",
  "title": "Text Align Control",
  "description": "Value schema for text-align control type",
  "type": "string",
  "enum": [
    "left",
    "center",
    "right",
    "justify"
  ],
  "controlProperties": [
    "type",
    "label",
    "tab",
    "group",
    "inline",
    "css",
    "deprecated",
    "placeholder",
    "hasRequired"
  ],
  "titleZh": "文字对齐控件",
  "descriptionZh": "文字对齐控件的值 schema。"
}

补充说明

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