Slot 插槽
1. 结构声明
- TS Declaration
- JSON Schema
class Slot extends BaseNode {
name: string = '';
title: string;
description: string;
emptyBackground: 'drag-entity-here';
advanced: boolean;
slotProps: Param;
}
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"emptyBackground": {
"type": "string",
"const": "drag-entity-here"
},
"advanced": {
"type": "boolean"
},
"slotProps": {
"$ref": "#/definitions/Param"
}
},
"required": [
"name",
"title",
"description",
"emptyBackground",
"advanced",
"slotProps"
],
"additionalProperties": false
}