@vtj / Modules / core / NodeSchema
Interface: NodeSchema
core.NodeSchema
低代码组件协议
Table of contents
Properties
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