page-arch-node
<visual-builder.page-arch-node>
构件 visual-builder.page-arch-node
Examples
Basic
With SubNodes
Properties
Name | Description | Type | Default | Required |
---|---|---|---|---|
label | string | |||
type | PageArchNodeType | |||
external | ExtraNodeData | |||
subNodes | ExtraNodeData[] | |||
active | boolean | |||
notSynced | boolean | |||
disableChildAppend | boolean | |||
autoFocusOnce | string |
Events
Name | Description | Event Detail |
---|---|---|
label.editing.change | boolean | |
label.change | string | |
node.click | void | |
node.dblclick | void | |
node.contextmenu | ContextMenuDetail | |
child.append | void | |
external.click | ExtraNodeData | |
subNode.dblclick | ExtraNodeData | |
subNode.contextmenu | SubNodeContextMenuData |
Type references
ExtraNodeData
Name | Type | Required | Description |
---|---|---|---|
label | string | ✅ | |
id | string | ✅ |
ContextMenuDetail
Name | Type | Required | Description |
---|---|---|---|
clientX | number | ✅ | |
clientY | number | ✅ |
SubNodeContextMenuData
extends ContextMenuDetail
Name | Type | Required | Description |
---|---|---|---|
node | ExtraNodeData | ✅ |
PageArchNodeType
"page" | "board"