前言
链接设置。
基本信息
- 英文名称:
Link Control - 中文名称:链接控件
- Schema ID:
bricks://controls/link - Schema 版本:
2.3 - 类型:
object
属性
type(string)url(string)postId(["string", "integer"])newTab(boolean)rel(string)title(string)ariaLabel(string)lightboxId(string)lightboxType(string)
Schema 定义
完整 JSON 定义
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "bricks://controls/link",
"schemaVersion": "2.3",
"title": "Link Control",
"description": "Link settings",
"controlProperties": [
"type",
"label",
"placeholder",
"hasRequired",
"tab",
"group"
],
"type": "object",
"properties": {
"type": {
"type": "string"
},
"url": {
"type": "string"
},
"postId": {
"type": [
"string",
"integer"
]
},
"newTab": {
"type": "boolean"
},
"rel": {
"type": "string"
},
"title": {
"type": "string"
},
"ariaLabel": {
"type": "string"
},
"lightboxId": {
"type": "string"
},
"lightboxType": {
"type": "string"
}
},
"titleZh": "链接控件",
"descriptionZh": "链接设置。"
}
补充说明
更多细节可参考 Bricks 官方 Academy 文档。