Interface: NodeSchema
低代码组件协议
Properties
children?
optional
children:NodeChildren
子组件
Defined in
packages/core/src/protocols/schemas/node.ts:50
directives?
optional
directives:NodeDirective
[]
内置指令
Defined in
packages/core/src/protocols/schemas/node.ts:45
events?
optional
events:NodeEvents
绑定事件
Defined in
packages/core/src/protocols/schemas/node.ts:40
from?
optional
from:NodeFrom
来源
Defined in
packages/core/src/protocols/schemas/node.ts:20
id?
optional
id:string
节点标识
Defined in
packages/core/src/protocols/schemas/node.ts:10
invisible?
optional
invisible:boolean
不可见的
Defined in
packages/core/src/protocols/schemas/node.ts:30
locked?
optional
locked:boolean
锁定
Defined in
packages/core/src/protocols/schemas/node.ts:25
name
name:
string
节点名称
Defined in
packages/core/src/protocols/schemas/node.ts:15
props?
optional
props:NodeProps
组件属性, 当 name 为 slot 时 props 是 插槽的参数
Defined in
packages/core/src/protocols/schemas/node.ts:35
slot?
optional
slot:string
|NodeSlot
放置在组件的插槽
Defined in
packages/core/src/protocols/schemas/node.ts:55